From time to time, we all need a little help. I know I do. Here’s a handy reference for my editor of choice, Notepad++.
File Menu | |
---|---|
Shortcut | Action |
Ctrl-O | Open File |
Ctrl-N | New File |
Ctrl-S | Save File |
Ctrl-Alt-S | Save As |
Ctrl-Shift-S | Save All |
Ctrl-P | |
Alt-F4 | Exit |
Ctrl-Tab | Next document |
Ctrl-Shift-Tab | Previous Document |
Ctrl-Numpad | Go to the nth document on the tab bar (n between 1 and 9) |
Ctrl-Page Up | Next Document |
Ctrl-PageDown | Previous Document |
Ctrl-W | Close current document |
Search Menu | |
---|---|
Shortcut | Action |
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 |
Ctrl-Alt-F3 | Find (volatile) next |
Ctrl-Alt-Shift-F3 | Find (volatile) previous |
Ctrl-F3 | Select and Find Next |
Ctrl-Shift-F3 | Select and Find Previous |
F4 | Go to Next Found |
Shift-F4 | Go to Previous Found |
Ctrl-Shift-I | Incremental Search |
Ctrl-n | Jump down |
Ctrl-Shift-n | Jump Up |
Ctrl-F2 | Toggle Bookmark |
F2 | Go to Next Bookmark |
Shift-F2 | Go to Previous Bookmark |
Ctrl-B | Go to Matching Brace |
Ctrl-Alt-B | Select all between matching braces |
Help Menu | |
---|---|
Shortcut | Action |
F1 | About |
Incremental Search | |
---|---|
Shortcut | Action |
Enter | Next match |
Shift-Enter | Previous match |
Edit Menu | |
---|---|
Shortcut | Action |
Ctrl-C | Copy the selected text |
Ctrl-Insert | Copy the selected text |
Ctrl-Shift-T | Copy the current line |
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 Select Mode |
Ctrl-Left Mouse Click | Start new selected area |
Alt-C | Column Editor |
Ctrl-D | Duplicate current line |
Ctrl-T | Switch the current with the previous line |
Ctrl-Shift-Up | Move current line or current selection up |
Ctrl-Shift-Down | Move current line or current selection down |
Ctrl-L | Delete current line |
Ctrl-I | Split lines |
Ctrl-J | Join lines |
Ctrl-G | Launch GoTo Line dialog |
Ctrl-Q | Single line comment |
Ctrl-Shift-Q | Single line uncomment |
Ctrl-K | Toggle single line comment |
Ctrl-Shift-K | Block comment |
Tab (with selection) | Insert tabulation or space |
Shift-Tab (with selection) | remove tabulation or space |
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 | Call to 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 Right-To-Left |
Ctrl-Alt-L | Text direction Left-To-Right |
Enter | Split line downward, or create new line |
Shift-Enter | Split line downward, or create new line |
Ctrl-Alt-Enter | Insert new unindented line above current line |
Ctrl-Alt-Shift-Enter | Insert new unindented line below current line |
View Menu | |
---|---|
Shortcut | Action |
Ctrl-Keypad + | Zoom in; same as Ctrl-Mousewheel up |
Ctrl-Keypad – | Zoom out; same as Ctrl-Mousewheel down |
Ctrl-Keypad / | Restore Zoom |
F11 | Toggle Full Screen |
F12 | Toggle Post-it Mode |
Ctrl-Alt-F | Collapse current level |
Ctrl-Alt-Shift-F | Uncollapse 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) |
Macro Menu | |
---|---|
Shortcut | Action |
Ctrl-Shift-R | Start/stop recording |
Ctrl-Shift-P | Play recorded macro |
Alt-Shift-S | Trim trailing and save |
Run Menu | |
---|---|
Shortcut | Action |
F5 | Launch run dialog |
Alt-F1 | Get PHP help |
Alt-F2 | Google search |
Alt-F3 | Wikipedia search |
Alt-F5 | Open filename at cursor |
Alt-F6 | Open file in another instance |
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 |
Mouse Gestures | |
---|---|
Shortcut | Action |
Left Click | Set current line |
Left click on Status bar | Toggle insert/overwrite |
Left click on bookmark margin | Toggle bookmark |
Shift-left click on fold point | Uncollapse fold and all below |
Ctrl-left click on fold point | Toggle collapsed state of this fold and all below |
Right-click | Context menu |
Double left click | Select word |
Double left click on location pane | Go to line |
Trip left click | Select line |