Skip to content

Instantly share code, notes, and snippets.

@k7faq
Created May 6, 2017 21:18
Show Gist options
  • Save k7faq/a00c52952ab7cbd53a0940dde2a74afc to your computer and use it in GitHub Desktop.
Save k7faq/a00c52952ab7cbd53a0940dde2a74afc to your computer and use it in GitHub Desktop.
CLI Nav Keys
Ctrl+A – begin of line
Ctrl+E – End of line
Ctrl+K – remove all chars after cursor
Ctrl+L – delete text except current line
Ctrl+U – delete text before cursor
Ctrl+W – removes last word in string at cursor
Ctrl+T – switches two letters at cursor with one before
Ctrl+F – move forward one char at a time
Ctrl+B – move back one char at a time
Ctrl+H – delete one char before cursor
Ctrl+D – delete one char after cursor
Ctrl+P – last command executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment