Discover the complete list of keyboard shortcuts for Notepad++, the powerful open-source text editor. With shortcuts tailored for everything from basic text editing to advanced code manipulation, this guide will help you become more efficient in your programming tasks.
Learn how to set up custom key bindings, navigate files effortlessly, and utilize powerful features like column mode editing and macro recording. Whether you’re a seasoned developer or just getting started, these shortcuts will enhance your coding productivity.
FAQ on Notepad++ Keyboard Shortcuts
How can I set up custom keyboard shortcuts in Notepad++?
To set up custom keyboard shortcuts, head to the Settings menu, then go to Shortcut Mapper. There, you can see all the existing bindings. Select the command you want to change, click ‘Modify,’ and press your new key combination. Save, and you’re done. Easy as pie!
What are the default shortcut keys for Notepad++?
Notepad++ comes with several default shortcut keys. For instance, Ctrl + N
creates a new file, Ctrl + S
saves, and Ctrl + F
opens the find dialog. You have Ctrl + H
for replace and F5
to run the current script. Handy for quick navigation and editing.
How do I enable column mode editing?
Column mode editing is a lifesaver for certain coding tasks. Simply hold Alt
and drag your mouse to select a block. Alternatively, use Alt + Shift + Arrow
keys. This feature allows for multi-line editing, making large-scale changes straightforward.
Can I navigate between open files using keyboard shortcuts?
Yes, quick file navigation is possible with Ctrl + Tab
and Ctrl + Shift + Tab
. These keys let you move forward and backward between open documents. If you prefer a list, Ctrl + Alt + Shift + Tab
brings up the document switcher.
Is there a shortcut to duplicate a line or selection?
Duplicating a line or selection is quite simple. Press Ctrl + D
to duplicate the current line. For selections, first highlight the text, then use the same shortcut. This can be a tremendous time-saver when coding.
How do I run a macro in Notepad++?
To run a macro, first, record one via the Macro menu. Once recorded, label and save it. Execute the macro with Ctrl + Shift + P
, or navigate to the Macro menu and select your saved sequence.
What key combination is used for commenting out code?
Commenting out code depends on the language mode you’re in. Generally, use Ctrl + Q
for a simple line comment. For block comments, highlight the text and press Ctrl + Shift + Q
. These shortcuts help in easily manipulating your code.
Are there shortcuts for zoom in and out?
Zoom in with Ctrl + Scroll Wheel Up
, and out with Ctrl + Scroll Wheel Down
. Alternatively, Ctrl + Plus
and Ctrl + Minus
handle zoom functions. These shortcuts help you to control your workspace visibility without hassle.
How to search and replace text quickly?
For quick search, use Ctrl + F
. Open the replace dialog with Ctrl + H
. For more advanced searches, including regular expressions, use the same replace dialog. Notepad++ has powerful text manipulation capabilities.
Can I switch between the light and dark themes?
To switch between themes, go to Settings -> Style Configurator. Choose from a range of preconfigured themes, including dark mode. Apply changes with ease, and enjoy a more comfortable coding environment, especially during late-night sessions.
And here’s the table with all the Notepad++ keyboard shortcuts
In case the searchable table doesn’t load.
Keys | Action |
---|---|
Ctrl + O | Open the File |
Ctrl + N | New File |
Ctrl + S | Save File |
Ctrl + Alt + S | Save As |
Ctrl + Shift + S | Save All |
Ctrl + P | Print the File |
Alt + F4 | Exit the File |
Ctrl + Tab | Open the next Document |
Ctrl + Shift + Tab | Open the previous Document |
Ctrl + W | Close current Document |
Ctrl + Numpad | Navigate to the n-th Document |
Ctrl + C | Copy |
Ctrl + Insert | Copy |
Ctrl + Shift + T | Copy the current line to the 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 | Column Mode Select |
Ctrl + Left Mouse Click | Start the new selected area |
ALT + C | Column Editor |
Ctrl + D | Duplicate the Current Line |
Ctrl + T | Switch the current line position with the previous line position |
Ctrl + Shift + Up | Move the Current Line |
Ctrl + Shift + Down | Move the Current Line |
Ctrl + Left Mouse Click | Delete the Current Line |
Ctrl + I | Split Lines |
Ctrl + J | Join Lines |
Ctrl + G | Launch the GoToLine Dialog |
Ctrl + Q | Single line comment |
Ctrl + Shift + Q | Single line uncomment |
Ctrl + K | Toggle the single line comment |
Ctrl + Shift + K | Block comment |
Tab | Insert indent |
Shift + Tab | Insert outdent |
Ctrl + Backspace | Delete to the start of the word |
Ctrl + Delete | Delete to the end of the word |
Ctrl + Shift + Backspace | Delete to the start of the line |
Ctrl + Shift + Delete | Delete to the end of the line |
Ctrl + U | Convert to lower case |
Ctrl + Shift + U | Convert to upper case |
Ctrl + B | Go to matching brace |
Ctrl + Space | Launch the CallTip ListBox |
Ctrl + Shift + Space | Launch the Function Completion ListBox |
Ctrl + Alt + Space | Launch the Path Completion ListBox |
Ctrl + Enter | Launch the Word Completion ListBox |
Ctrl + Alt + R | Text Direction RTL |
Ctrl + Alt + L | Text Direction LTR |
Enter | Split the line downwards |
Shift + Enter | Split the line downwards |
Ctrl + Alt + Enter | Insert new unindented line above the current one |
Ctrl + Alt + Shift + Enter | Insert new unindented line below the current one |
Ctrl + F | Launch Find Dialog |
Ctrl + H | Launch Find/Replace Dialog |
F3 | Find Next |
Shift + F3 | Find Previous |
Ctrl + Shift + F3 | Find in Files |
F7 | Switch to the 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 the Next Bookmark |
Shift + F2 | Go to the Previous Bookmark |
Ctrl + B | Go to the Matching Brace |
Ctrl + Alt + B | Select All between the Matching Braces |
Ctrl + Shift + R | Start to record / Stop recording the macro |
Ctrl + Shift + P | Play the recorded macro |
Alt + Shift + S | Trim Trailing and Save |
F5 | Launch Run Dialog |
Alt + F1 | Get PHP help |
Alt + F2 | Google search |
Alt + F3 | Wikipedia search |
Alt + F5 | Open file |
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 |
Enter | Next match |
Shift + Enter | Previous match |
Ctrl + (Keypad-/Keypad+) | Zoom in and zoom out |
Ctrl + Keypad/ | Restore the original size |
F11 | Toggle full screen |
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) |
- How to Check Screen Time on iPhone - December 11, 2024
- How to Autoformat in VSCode Effortlessly - December 10, 2024
- How to Turn Off Restrictions on iPhone - December 10, 2024