29 Command Line Keyboard Shortcuts

Learn Command Line Shortcuts for Windows

Navigation Shortcuts

ActionShortcuts
Move the selection point to the beginning of the current lineHome
Move the selection point to the end of the current lineEnd
Move the selection point to the beginning of the previous word on the current lineCtrl + Left Arrow Key
Move the selection point to the beginning of the next word on the current lineCtrl + Right Arrow Key
Scroll the page up without moving insertion pointCtrl + Up Arrow Key
Scroll the page down without moving insertion pointCtrl + Down Arrow Key
Enter or exit mark modeCtrl + M

Text Selection Shortcuts

ActionShortcuts
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 leftShift + Left Arrow Key
Extend current selection by one character to the rightShift + Right Arrow Key
Extend current selection by one word to the leftShift + Ctrl + Up Arrow Key
Extend current selection by one word to the rightShift + Ctrl + Down Arrow Key
Extend current selection by one line upShift + Up Arrow Key
Extend current selection by one line downShift + Down Arrow Key
Extend current selection to the beginning of commandShift + Home
Extend current selection to the end of the current lineShift + End
Extend current selection to the beginning of the screen bufferCtrl + Shift + Home
Extend current selection to the end of the screen bufferCtrl + Shift + End
Extend current selection by one page upShift + Page Up Key

Text Manipulation Shortcuts

ActionShortcuts
Copy currently selected textCtrl + C
Paste text from clipboardCtrl + V
Delete character left to the insertion pointBackspace
Delete the word left to the insertion pointCtrl + Backspace
Autocomplete folder and file namesTab
Delete current lineEsc
Toggle insertion modeInsert
Delete text from the insertion point to the beginning of the current lineCtrl + Home
Delete text from the insertion point to the end of the current lineCtrl + End
Mark the end of a line (text typed after this point will be ignored)Ctrl + Z

READ NEXT:

Back to top button