Notepad++ Keyboard Shortcuts

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. 

KeysAction
Ctrl + OOpen the File
Ctrl + NNew File
Ctrl + SSave File
Ctrl + Alt + SSave As
Ctrl + Shift + SSave All
Ctrl + PPrint the File
Alt + F4Exit the File
Ctrl + TabOpen the next Document
Ctrl + Shift + TabOpen the previous Document
Ctrl + WClose current Document
Ctrl + NumpadNavigate to the n-th Document
Ctrl + CCopy
Ctrl + InsertCopy
Ctrl + Shift + TCopy the current line to the clipboard
Ctrl + XCut
Shift + DeleteCut
Ctrl + VPaste
Shift + InsertPaste
Ctrl + ZUndo
Alt + BackspaceUndo
Ctrl + YRedo
Ctrl + ASelect All
Alt + Shift + Arrow KeysColumn Mode Select
Ctrl + Left Mouse ClickStart the new selected area
ALT + CColumn Editor
Ctrl + DDuplicate the Current Line
Ctrl + TSwitch the current line position with the previous line position
Ctrl + Shift + UpMove the Current Line
Ctrl + Shift + DownMove the Current Line
Ctrl + Left Mouse ClickDelete the Current Line
Ctrl + ISplit Lines
Ctrl + JJoin Lines
Ctrl + GLaunch the GoToLine Dialog
Ctrl + QSingle line comment
Ctrl + Shift + QSingle line uncomment
Ctrl + KToggle the single line comment
Ctrl + Shift + KBlock comment
TabInsert indent
Shift + TabInsert outdent
Ctrl + BackspaceDelete to the start of the word
Ctrl + DeleteDelete to the end of the word
Ctrl + Shift + BackspaceDelete to the start of the line
Ctrl + Shift + DeleteDelete to the end of the line
Ctrl + UConvert to lower case
Ctrl + Shift + UConvert to upper case
Ctrl + BGo to matching brace
Ctrl + SpaceLaunch the CallTip ListBox
Ctrl + Shift + SpaceLaunch the Function Completion ListBox
Ctrl + Alt + SpaceLaunch the Path Completion ListBox
Ctrl + EnterLaunch the Word Completion ListBox
Ctrl + Alt + RText Direction RTL
Ctrl + Alt + LText Direction LTR
EnterSplit the line downwards
Shift + EnterSplit the line downwards
Ctrl + Alt + EnterInsert new unindented line above the current one
Ctrl + Alt + Shift + EnterInsert new unindented line below the current one
Ctrl + FLaunch Find Dialog
Ctrl + HLaunch Find/Replace Dialog
F3Find Next
Shift + F3Find Previous
Ctrl + Shift + F3Find in Files
F7Switch to the Search Results window
Ctrl + Alt + F3Find (volatile) Next
Ctrl + Alt + Shift + F3Find (volatile) Previous
Ctrl + F3Select and Find Next
Ctrl + Shift + F3Select and Find Previous
F4Go to next found
Shift + F4Go to previous found
Ctrl + Shift + IIncremental Search
Ctrl + NJump Down
Ctrl + Shift + NJump Up
Ctrl + F2Toggle Bookmark
F2Go to the Next Bookmark
Shift + F2Go to the Previous Bookmark
Ctrl + BGo to the Matching Brace
Ctrl + Alt + BSelect All between the Matching Braces
Ctrl + Shift + RStart to record / Stop recording the macro
Ctrl + Shift + PPlay the recorded macro
Alt + Shift + STrim Trailing and Save
F5Launch Run Dialog
Alt + F1Get PHP help
Alt + F2Google search
Alt + F3Wikipedia search
Alt + F5Open file
Alt + F6Open file in another instance
Ctrl + Alt + Shift + ROpen in Chrome
Ctrl + Alt + Shift + XOpen in Firefox
Ctrl + Alt + Shift + IOpen in IE
Ctrl + Alt + Shift + FOpen in Safari
Ctrl + Alt + Shift + OSend via Outlook
EnterNext match
Shift + EnterPrevious match
Ctrl + (Keypad-/Keypad+)Zoom in and zoom out
Ctrl + Keypad/Restore the original size
F11Toggle full screen
F12Toggle Post-It mode
Ctrl + Alt + FCollapse the current level
Ctrl + Alt + Shift + FUncollapse the current level
Alt + 0Fold all
Alt + (1~8)Collapse the level (1~8)
Alt + Shift + 0Unfold all
Alt + Shift + (1~8)Uncollapse the level (1~8)
7328cad6955456acd2d75390ea33aafa?s=250&d=mm&r=g Notepad++ Keyboard Shortcuts
Latest posts by Bogdan Sandu (see all)
Related Posts
Read More

JSON Minifier

Optimize and streamline your data with our JSON minifier. This powerful tool reduces JSON file sizes by removing…
Read More

Password Strength Tester

Quickly assess the strength of your passwords with our intuitive password strength tester. This tool analyzes your password’s…
Read More

JSON Beautifier

Optimize and enhance the readability of your data with our JSON beautifier. This powerful tool transforms messy, minified…