notepad++ keyboard hacks for windows

Notepad++ is a free (as in “free speech” and also as in “free beer”) source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.

Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world’s carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment.

Keyboard Shortcuts

minus1. File menu
Ctrl+O Open File
Ctrl+N New File
Ctrl+S Save File
Ctrl+Alt+S Save As
Ctrl+Shift+S Save All
Ctrl+P Print
Alt+F4 Exit
Ctrl+Tab Next Document (also shows list of open files). Can be disabled – see Settings/Preferences/Global.
Ctrl+Shift+Tab Previous Document (also shows list of open files). Can be disabled – see above.
Ctrl+1..9 on Numpadn Go to the n-th document on tab bar, n between 1 and 9.
Ctrl+PgUp Next document
Ctrl+PgDn Previous document
Ctrl+W Close Current Document

 

minus2. Edit menu
Ctrl+C Copy
Ctrl+Insert Copy
Ctrl+Shift+T Copy current line to clipboard
Ctrl+X Cut
Shift+Delete Cut
Ctrl+V Paste
Shift+Insert Paste
Ctrl+Z Undo
Alt+Backspace Undo
Ctrl+Y Redo
Ctrl+A Select All
Alt+Shift+Arrow keys, /Alt+ Left mouse click Column Mode Select
Ctrl+ Left mouse click Start new selected area. Only multiple stream areas ca be selected this way.
Alt+C Column Editor
Ctrl+D Duplicate Current Line
Ctrl+T Switch the current line position with the previous line position
Ctrl+Shift+Down Move Current Line, or current selection if a single stream, Down
Ctrl+L Delete Current Line
Ctrl+I Split Lines
Ctrl+J Join Lines
Ctrl+G Launch GoToLine Dialog
Ctrl+Q Single line comment
Ctrl+Shift+Q Single line uncomment
Ctrl+K Toggle single line comment
Ctrl+Shift+K Block comment
Tab (selection of one / more full lines) Insert Tabulation or Space (Indent)
Shift+Tab (selection of one / more full lines) Remove Tabulation or Space (outdent)
Ctrl+Backspace Delete to start of word
Ctrl+Delete Delete to end of word
Ctrl+Shift+Backspace Delete to start of line
Ctrl+Shift+Delete Delete to end of line
Ctrl+U Convert to lower case
Ctrl+Shift+U Convert to UPPER CASE
Ctrl+B Go to matching brace
Ctrl+Space Launch CallTip ListBox
Ctrl+Shift+Space Launch Function Completion ListBox
Ctrl+Alt+Space Launch Path Completion ListBox
Ctrl+Enter Launch Word Completion ListBox
Ctrl+Alt+R Text Direction RTL
Ctrl+Alt+L Text Direction LTR
Enter Split line downwards, or create new line
Shift+Enter Split line downwards, or create new line
Ctrl+Alt+Enter SInsert new unindented line above current
Ctrl+Alt+Shift+Enter SInsert new unindented line below current

 

minus3. Search menu
Ctrl+F Launch Find Dialog
Ctrl+H Launch Find / Replace Dialog
F3 Find Next
Shift+F3 Find Previous
Ctrl+Shift+F Find in Files
F7 Switch to Search results window (was Activate sub view before v5.2)
Ctrl+Alt+F3 Find (volatile) Next
Ctrl+Alt+Shift+F3 Find (volatile) Previous
Ctrl+F3 Select and Find Next (was Find (Volatile) Next prior to v5.6.5)
Ctrl+Shift+F3 Select and Find Previous (was Find (Volatile) Previous prior to v5.6.5)
F4 Go to next found
Shift+F4 Go to previous found
Ctrl+Shift+I Incremental Search
Ctrl+N Jump Down (to next text marked using n-th stye. n is 1 to 5, or 0 for default Found style.
Ctrl+Shift+N Jump Up (to next text marked using n-th stye. n is 1 to 5, or 0 for default Found style.
Ctrl+F2 Toggle Bookmark
F2 Go To Next Bookmark
Shift+F2 Go To Previous Bookmark
Ctrl+B Go to Matching Brace (caret must be on a brace)
Ctrl+Alt+B Select All between Matching Braces (caret must be on a brace)

 

minus4. View menu
Ctrl+(+]/- on numeric keypad or Ctrl + mouse wheel button (if any) Zoom in (+ or up) and Zoom out (- or down)
Ctrl+Keypad/ Restore the original size from zoom
F11 Toggle Full Screen Mode
F12 Toggle Post-It Mode
Ctrl+Alt+F Collapse the Current Level
Ctrl+Alt+Shift+F Uncollapse the Current Level
Alt+0 Fold All
Alt+(1~8) Collapse the Level (1~8)
Alt+Shift+0 Unfold All
Alt+Shift+(1~8) Uncollapse the Level (1~8)

 

minus5. Macro menu
Ctrl+Shift+R Start to record /Stop recording the macro
Ctrl+Shift+P Play recorded macro
Alt+Shift+S Trim Trailing and Save

 

minus6. Run menu
F5 Launch Run Dialog
Alt+F1 Get PHP help
Alt+F2 Google search
Alt+F3 Wikipedia search
Alt+F5 Open file (name at cursor)
Alt+F6 Open file in another instance (name at cursor)
Ctrl+Alt+Shift+R Open in Chrome
Ctrl+Alt+Shift+X Open in Firefox
Ctrl+Alt+Shift+I Open in IE
Ctrl+Alt+Shift+F Open in Safari
Ctrl+Alt+Shift+O Send via Outlook

Leave a Comment