Notepad++ Shortcuts

Aus NetWiki
Wechseln zu: Navigation, Suche

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 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-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

Edit menu

Shortcut Action
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, or 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-Up Move Current Line, or current selection if a single stream, Up
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 or more full lines) Insert Tabulation or Space (Indent)
Shift-Tab (selection of one or 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

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 (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)

View menu

| Vorlage:Table | align="center" style="background:#f0f0f0;"|Shortcut | align="center" style="background:#f0f0f0;"| Action |- | Ctrl-(Keypad-/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) |- | |}

Macro menu

Shortcut Action
Ctrl-Shift-R Start to record /Stop recording the macro
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 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

? menu

Shortcut Action
F1 About
Shift+F1 Help Contents

Incremental search widget

Shortcut Action
Enter Next match (same as > button)
Shift+Enter Previous match (same as < button)

Mouse gestures

Shortcut Action
Single left click Set current line
Single left click on rightmost status bar pane Toggle typing mode between Insert and Overtype
Single left click on bookmark margin Toggle bookmark
Shift+left click on fold point Uncollapse this fold and all those below
Ctrl+left click on fold point Toggle collapsed state of this fold, and propagate below
Right click Pop up context menu
Double left click Select word
Double left click on location pane (status bar) Go to line
Triple left click Select line

Wer die übrigen Shortcuts des Programms studieren will, sollte einen Blick in die primären Funktionen von Notepad++ werfen, die über den Menüpunkt "Einstellungen -> Tastatur…" und anschließend unter der Registerkarte "Scintilla commands" zu finden sind.