Show Menu
Cheatography

Emacs Cheat Sheet (DRAFT) by

Cheat Sheet for Emacs

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Basic Navigation

Quit Emacs
C-x C-c
Quit Partial Commands
C-g
View Next Screen
C-v
View Previous Screen
M-v
Move Text around Cursor
C-l
Previous Line
C-p
Next Line
C-n
Previous Character
C-b
Next Character
C-f
Previous Word
M-b
Next Word
M-f
Beginning of line
C-a
End of line
C-e
Beginning of sentence
M-a
End of sentence
M-e
Beginning of text
M-<
End of text
M->

Text Editing

Delete one character after cursor
C-d
Delete one word before cursor
M-back­space
Delete one word after cursor
M-d
KIll/Cut characters till line ends
C-k
Kill/Cut characters till sentence ends
M-k
Mark Selection
C-Space
Kill/Cut Text
C-w
Paste/Yank Text
C-y
Cycle Yank
M-y
Undo
C-/
 

Window Navigation

Kill all windows except one
C-x 1
Split Window
C-x 2
Switch Windows
C-x o
Open file in another window
C-x 4 C-f
Open new frame
M-x make-frame
Close frame
M-x delet-­frame
Get Out Command
ESC ESC ESC
Help
C-h
Help for specific command
C-h c <SE­Q>
Help function
C-h f <FU­NC>
Help Extended
C-h k <SE­Q>

Files

Find a file
C-x C-f
Save file
C-x C-s
List Buffers
C-x C-b
Switch Buffer
C-x b
Save some buffers
C-x s
 

Misc.

Repeat Command
C-u
Suspend Emacs
C-z
Recover Auto-saved File
M-x recove­r-file
Forward Search
C-s
Reverse Search
C-r