Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad plus plus shortcut for reloading files

Tags:

notepad++

Is there any keyboard shortcut for reloading files in n++ ? How can i configure my own?

Steps to reproduce:

  • right click and reload on header tab.
like image 440
vkg Avatar asked Jun 20 '16 14:06

vkg


People also ask

How do I reload Notepad++?

If you want what's in the Notepad++ tab and would not want to be overwritten as you do not want to lose it? simply click No and create a new copy of this file, else click Yes and the file will be refreshed in the tab.

How do I refresh Notepad automatically?

right-click the file tab and click reload.

What does Ctrl d do in Notepad++?

What ctrl-d does: It selects the next occurence of the current selection as added multiselection. You can use it to very quickly rename variables. In Notepad++ you have to use the mouse, which is much slower, or the replace function.


2 Answers

Steps for mapping a keyboard shortcut for reloading files in n++.

  1. First open Notepad++ application
  2. Now go to Settings tab >Shortcut mapper

  3. Now here select the first tab which is main menu

  4. You can find the "reload from disk" option under the selected options. Note: Typically this is amongst the top commands, e.g. item #6.

  5. Now all you have to do is to assign an unused shortcut key mapping to it.

Note: If you want to use F5 like in a web-browser, it is better to first remove existing F5 shortcut assigned to "Run..." (close to bottom of main menu)

like image 190
SaiKiran Avatar answered Oct 03 '22 14:10

SaiKiran


This page gives an explanation on how to set custom shortcuts in Notepad++:

http://www.martinrinehart.com/frontend-engineering/engineers/tools/notepad-pp/shortcuts.html

Summary: Go to the Settings=>Shortcut mapper menu item & set "Reload from Disk" there.

like image 34
Mr Smith Avatar answered Oct 03 '22 15:10

Mr Smith