User Tools

Site Tools


sw:npp:session_menu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sw:npp:session_menu [2022/10/13 07:37] rpleckosw:npp:session_menu [2022/10/13 07:46] (current) rplecko
Line 7: Line 7:
 Shortcuts are saved in Shortcuts are saved in
   %APPDATA%\Notepad++\shortcuts.xml   %APPDATA%\Notepad++\shortcuts.xml
 +under <UserDefinedCommands> and lloks like this
 +<code>
 +<UserDefinedCommands>
 +  <Command name="Get PHP help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/$(CURRENT_WORD)</Command>
 +  <Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
 +  <Command name="Open file in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst</Command>
 +  <Command name="Session 01" Ctrl="no" Alt="no" Shift="no" Key="0">$(NPP_FULL_FILE_PATH) "C:\Program Files (x86)\Notepad++\session_01.ses" -multiInst</Command>
 +  <Command name="Session 02" Ctrl="no" Alt="no" Shift="no" Key="0">$(NPP_FULL_FILE_PATH) "C:\Program Files (x86)\Notepad++\session_02.ses" -multiInst</Command>
 +</UserDefinedCommands>
 +</code>
  
 +As you can see in last two lines, here you can start a new instance of Notepad with predefined files saved in session file.
sw/npp/session_menu.1665646675.txt.gz · Last modified: 2022/10/13 07:37 by rplecko