Skip to content

Instantly share code, notes, and snippets.

@regiellis
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save regiellis/e780360f36a86373f6ef to your computer and use it in GitHub Desktop.
Save regiellis/e780360f36a86373f6ef to your computer and use it in GitHub Desktop.

###Terminal Motions

  • Meta-d to delete a word starting from the current cursor position
  • Ctrl-a to jump to start of the line
  • Ctrl-e to jump to end of the line
  • Ctrl-k to kill the line starting from the cursor position
  • Ctrl-y to paste text from the kill buffer
  • Ctrl-r to reverse search for commands you typed in the past from your history
  • Ctrl-s to forward search (works in zsh for me but not bash)
  • Ctrl-f to move forward by a char
  • Ctrl-b to move backward by a char
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment