Skip to content

Instantly share code, notes, and snippets.

@kiasaki
Last active August 29, 2015 14:05
Show Gist options
  • Save kiasaki/f36676d0edb7bc4173a6 to your computer and use it in GitHub Desktop.
Save kiasaki/f36676d0edb7bc4173a6 to your computer and use it in GitHub Desktop.
Emacs Cheat Sheet
C-f Move forward a character
C-b Move backward a character
M-f Move forward a word
M-b Move backward a word
C-n Move to next line
C-p Move to previous line
C-a Move to beginning of line
C-e Move to end of line
M-a Move back to beginning of sentence
M-e Move forward to end of sentence
M-< Beginning of file
M-> EOF
C-v Scroll down
M-v Scroll up
C-g Cancel command - Safe quit - Cancel entry
C-u <n> <command> Repeat <n> times
C-u 8 f Type 8 time the letter 'f'
C-d Delete next character
M-d Delete next word
C-k Delete to the end of line
C-<SPC> Visual mode
C-w Delete selected text
C-y Yank (paste)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment