Skip to content

Instantly share code, notes, and snippets.

@jcfrank
Last active March 18, 2018 15:17
Show Gist options
  • Save jcfrank/fe723a0e2b3c80f963d5 to your computer and use it in GitHub Desktop.
Save jcfrank/fe723a0e2b3c80f963d5 to your computer and use it in GitHub Desktop.
Emacs cheat sheet.

Emacs 24.3 cheat sheet

Keys Desc
C-x C-c quit
M-x kill-emacs quit without saving
C-x s Save, Promt
C-x C-s Save
C-@ Mark mode
C-_ Redo
C-x u Undo
M-w Copy
C-w Cut/delete
C-y Paste
C-d Delete char forward
M-f/M-b Navigate forward/backward a word
M-a/M-e Navigate forward/backward a line
M-{/M-} Naivagte forward/backward a paragraph
C-a/C-e Navigate to head/end of a line
M-</M-> Navidate to page head/bottom
C-v Page scroll down
M-v Page scroll up
M-d/M-del Delete a word forward/backward
C-x del Delete words until head of sentence
C-k Delete words until end of line
M-x delete-trailing-whitespace Delete trailing whitespaces
C-x 0 Kill current window
C-x 1 Leave only current window
C-x 2 Split window vertically
C-x 3 Split window horizontally
C-x o Switch to next window
C-x C-f Find and open file
C-x C-w Save file as ...
C-x b Select buffer, prompt
C-x C-b Select buffer and open in another window
C-s/r Search forward/backward
C-g Cancel current command
M-g g Go to line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment