Cheatsheet Notepad++
Editor de texto para Windows com destaque de sintaxe
Notepad++
file
New file
Ctrl + N
Creates a new blank document.
Close document
Ctrl + W
Closes the active tab.
Open file
Ctrl + O
Opens an existing file.
Close all
Ctrl + Shift + W
Closes all open documents.
Save
Ctrl + S
Saves the current document.
Ctrl + P
Prints the current document.
Save the
Ctrl + Shift + S
Saves with a new name or location.
Exit
Alt + F4
Closes Notepad++.
Edition
Undo
Ctrl + Z
Reverts the last action.
Duplicate line
Ctrl + D
Duplicates the current line.
Indent / unindent
Tab (indent)
Shift + Tab (unindent)
Adjusts the indentation of the selected lines.
Redo
Ctrl + Y
Reapplies the undone action.
Delete line
Ctrl + L
Removes the line where the cursor is.
Uppercase / lowercase
Ctrl + U (lowercase)
Ctrl + Shift + U (UPPERCASE)
Converts the case of the selected text.
Cut / Copy / Paste
Ctrl + X (cut)
Ctrl + C (copy)
Ctrl + V (paste)
Basic clipboard operations.
Move line
Ctrl + Shift + ↑ (up)
Ctrl + Shift + ↓ (down)
Moves the current line up or down.
Select all
Ctrl + A
Selects all the content.
Comment / uncomment
Ctrl + Q
Comments or uncomments the selected block.
Search and Replace
Find
Ctrl + F
Opens the search window.
Go to line
Ctrl + G
Jumps to a specific line number.
Replace
Ctrl + H
Opens the replace window.
Incremental search
Ctrl + Alt + I
Searches while you type.
Next / previous
F3 (next)
Shift + F3 (previous)
Navigates between the search results.
Find in files
Ctrl + Shift + F
Searches across several files in a folder.
Selection
Select with arrows
Ctrl + Shift + ← / →
Selects word by word.
Select whole line
Ctrl + Shift + L
Selects the current line.
Column selection
Alt + Shift + Arrows
Rectangular selection (block editing).
Multi-editing
Ctrl + Click
Adds cursors to edit several places.
Select word
Ctrl + Double click
Selects the whole word.
Navigation
Start / end of line
Home (start)
End (end)
Moves the cursor to the start/end of the line.
Toggle bookmark
Ctrl + F2 (mark)
F2 (next)
Shift + F2 (previous)
Creates and navigates between bookmarks.
Start / end of file
Ctrl + Home (top)
Ctrl + End (end)
Jumps to the start or end of the document.
Word by word
Ctrl + ← / →
Moves the cursor word by word.
Go to bracket
Ctrl + B
Jumps to the matching bracket.
Preview
Zoom
Ctrl + Mouse wheel
Ctrl + + (zoom in)
Ctrl + - (zoom out)
Enlarges or reduces the text.
Show/hide spaces
Ctrl + Shift + 8
Shows invisible characters (spaces, tabs).
Full screen
F11
Enables full-screen mode.
Switch documents
Ctrl + Tab
Ctrl + Shift + Tab
Navigates between the open tabs.
Duplicate view
View → Clone to other view
Shows the same document side by side.
Macros
Record macro
Ctrl + Shift + R
Starts recording a macro.
Stop recording
Ctrl + Shift + R
Ends the macro recording.
Play macro
Ctrl + Shift + P
Runs the recorded macro.
Repeat macro
Macro → Run multiple times
Plays the macro N times or until the end.