The full-feature Notepad++ setup with some scripts collections from other repositories and installed plugins with stable releases (x64) that does not have any conflicts. Hit the Ctrl+Shift+Alt+M
to read this file in the editor.
Before starting the Notepad++ make sure you run Notepad++Portable.exe, because if you run notepad++.exe directly all small configurations will be lost.
-
You can install Notepad++ via PortableApps and replace
PortableApps/Notepad++Portable/
with this Notepad++, but it's not necessary. -
Find
Users\username
(with case sensitive) and replace it with yourUsers\<your-username>
in whole directory ofNotepad++Portable
. ReplaceUsers/username
withUsers/<your-username>
and replaceUsers\\username
withUsers\\<your-username>
. -
Create shortcut for Notepad++Portable.exe and pin it to the Taskbar and Desktop, or you can access it from the PortableApps manager.
My preferred theme is Texter-Light
(because of Compare plugin) and Texter-Twilight
in the Windows High Contrast and editor's Dark Mode. If you want to have dark mode in Notepad++ everywhere go to Language->User Defined Language->Define your language...
and change file extensions for each user defined Dark/Light language in the Extension field.
Ctrl+Shift+Alt+Backspace
is used for NppExec plugin to repeat executed command, e.x. if you want to compile some scriptCtrl+Shift+Alt+\
previous executedPython Script
scriptShift+Alt+D
- you can clone the file to the next view, or. Useful for the navigation in the large filesCtrl+Alt+D
- you can move the file to the next view. It's useful when you need work with large filesAlt+D
,Alt+J
- Multicursor feature, select next occurrence, like in the SublimeText editorAlt+W
- Select by wordAlt+K
- Skip to next selectionAlt+U
- Undo selectionCtrl+Shift+L
- Select all occurrencesCtrl+Alt+P
- Toggle spell checkerAlt+P
- go to next errorShift+Alt+P
- go to previous errorShift+Enter
- will break the lineShift+Space
- will select between quotesShift+Alt+Space
- edit in the Distraction Free ModeAlt+Z
- cursor to previous locationShift+Alt+Z
- cursor to next locationCtrl+Alt+A
- Select paragraphCtrl+Shift+A
- Select by FoldAlt+A
- Emmet select inwardsShift+Alt+A
- Emmet select outwards
In the context menu you'll find Workspace item that will have useful items to work with the project. If you installed Git - make sure the Workspace path is loaded and you can access Git features from the context menu Git->Git Edit Global .gitignore
and then paste the following:
.DS_Store
.tags
tags.idx
Thumbs.db
*.orig
*.swp
GPATH
GTAGS
GRTAGS
NppGTags.cfg
tags
tags.sqlite
The most useful plugin I found is NppGTags. Open any file in the workspace root directory and click Workspace->Create database
. Make sure if the workspace path is loaded. To check the path - hit Alt+\
.
If you know how to use ctags.exe - download and compile it from the sources and after running ctags you'll be able to use NppTags
and TagLEET
. If you want to generate tags database from the editor's interface - make sure you opened file in the root directory where you want tags database to be generated and Tags Tree panel is closed, otherwise it will too slow to generate tags file. The built ctags.exe
version you can find in Notepad++Portable\App\Notepad++64\ctags-p5.9.20210718.0
directory and you can setup NppTags->Options...
path to ctags.exe
location.
If you want use Git features - it's better to download and install TortoiseGit. One more useful program is DiffUse - download and install it and hit Ctrl+Shift+Alt+P
and add the absolute path to diffuse.exe to the user's Path
environment variable.
-
Better PHP support (autocomplete, commands).
-
Extended context menu.
-
Useful scripts collection for
Python Script
andjN
plugins. -
Themes collection and user defined languages.
-
In the Explorer's Favorites you can find useful links to some popular resources/services.
-
Language-Help with helpful .chm docs and useful search engines.
-
Open
TODO.txt
usingCtrl+Shift+Alt+Space
shortcut, or access it from the context menu. -
While editing the document you can hit
Ctrl+Shift+P
(hotkey like in Sublime Text, vscode), type 10, and you'll seeAdd 10 Lines
, pressEnter
key and after some time if you need more 10 new lines - hitCtrl+Shift+Alt+Enter
and previous command will be executed.