Skip to content

Instantly share code, notes, and snippets.

@mufasa71
Last active August 29, 2015 14:06
Show Gist options
  • Save mufasa71/9346a4f2dabf35c8ec1e to your computer and use it in GitHub Desktop.
Save mufasa71/9346a4f2dabf35c8ec1e to your computer and use it in GitHub Desktop.

Movements

  • Ctrl+b - move one char to left
  • Ctrl+f - move one char to right
  • Alt+b - move one word left
  • Alt+f - move one word right
  • Ctrl+a - jump to start of line
  • Ctrl+e - jump to end of line

Copy & Paste

  • Ctrl+u - cut from line start
  • Ctrl+k - cut to line end
  • Alt+d - cut word after cursor
  • Ctrl+w - cut word before cursor
  • Ctrl+y - paste cut text
  • Alt+Ctrl+y - 1st argument of previous command
  • Alt+.+_ - last argument of previous command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment