Learn Command Line Shortcuts for Windows
Navigation Shortcuts
| Action | Shortcuts |
|---|
| Move the selection point to the beginning of the current line | Home |
| Move the selection point to the end of the current line | End |
| Move the selection point to the beginning of the previous word on the current line | Ctrl + Left Arrow Key |
| Move the selection point to the beginning of the next word on the current line | Ctrl + Right Arrow Key |
| Scroll the page up without moving insertion point | Ctrl + Up Arrow Key |
| Scroll the page down without moving insertion point | Ctrl + Down Arrow Key |
| Enter or exit mark mode | Ctrl + M |
Text Selection Shortcuts
| Action | Shortcuts |
|---|
| Select all text in the current line (press again to select all text in the buffer) | Ctrl + A |
| Extend current selection by one character to the left | Shift + Left Arrow Key |
| Extend current selection by one character to the right | Shift + Right Arrow Key |
| Extend current selection by one word to the left | Shift + Ctrl + Up Arrow Key |
| Extend current selection by one word to the right | Shift + Ctrl + Down Arrow Key |
| Extend current selection by one line up | Shift + Up Arrow Key |
| Extend current selection by one line down | Shift + Down Arrow Key |
| Extend current selection to the beginning of command | Shift + Home |
| Extend current selection to the end of the current line | Shift + End |
| Extend current selection to the beginning of the screen buffer | Ctrl + Shift + Home |
| Extend current selection to the end of the screen buffer | Ctrl + Shift + End |
| Extend current selection by one page up | Shift + Page Up Key |
Text Manipulation Shortcuts
| Action | Shortcuts |
|---|
| Copy currently selected text | Ctrl + C |
| Paste text from clipboard | Ctrl + V |
| Delete character left to the insertion point | Backspace |
| Delete the word left to the insertion point | Ctrl + Backspace |
| Autocomplete folder and file names | Tab |
| Delete current line | Esc |
| Toggle insertion mode | Insert |
| Delete text from the insertion point to the beginning of the current line | Ctrl + Home |
| Delete text from the insertion point to the end of the current line | Ctrl + End |
| Mark the end of a line (text typed after this point will be ignored) | Ctrl + Z |
READ NEXT: