Show Menu
Cheatography

DrLock's Emacs Cheat Sheet by

The Emacs keys that I need to remember

Buffers, Windows and Frames

Close Buffer
C-x k
Switch buffers
C-x b
Close Window
C-x 0
Close all other Windows
C-x 1
Split Win Vert
C-x 2
Split Win Horz
C-x 3
Close Buffer and Window
C-x 4 0
kill-b­uff­er-­and­-window
Grow Win Ver
C-x ^
Toggle Scratch
C-c b
switch­-to­-sc­rat­ch-­and­-back
Open file
C-x C-f

Bookmarks

Bookmark list
Jump to Bookmark
Save Bookmark

Kill / Yank

Kill selection
C-w
Kill line
C-k
Yank
C-y
Prior yank
M-y
 

Coding

 
C-c @ C-c
toggle hide/show
 
C-c @ C-M-h
hide all
 
C-c @ C-M-s
show all
Code Folding
 
outlin­e-m­ino­r-mode

Navigation

Page Up / Dn
Push Mark
C-<­SPC> C-<­SPC>
cua-se­t-mar
Pop Mark
C-u C-<­SPC>
cua-se­t-mark
Expres­sions Fwd
C-M-f
Expres­sions Back
C-M-b
Goto line
M-g-g
goto-line

Mini-b­uffer

 
M-x
Universal Argument
C-u OR C-u C-U OR C-u #

Special Characters

Carriage return
C-q C-j
Tab
C-q <ta­b>

Search / Replace

 
 

Org Mode

Change item depth
M-<­rig­ht> / M-<­lef­t>
Insert new TODO
S-M-<R­ET>
Change TODO state
S-<­rig­ht> / S-<­lef­t>
Set Deadline
C-c C-d
Set Schedule date
C-c C-s
Sparse TODO
C-c / t
Un-col­lapse all
S-<­tab>
Global TODO list
C-c a t

Calc Mode

Sum a column
C-u C-x * :
After selecting column

Column Editing

Mark Column
C-<­Ent­er>
cua-se­t-r­ect­ang­le-mark
Auto increment
M-n
cua-se­que­nce­-re­ctangle

Icicles

 

Dired Mode

Omit Mode
C-x M-o
dired-­omi­t-mode
Execute
Move
Copy

Help

Keystroke
C-h k
Apropos
C-h a
Command
C-h c
Function
C-h f
Info Browser
C-h i
Using Info?
   

Help Us Go Positive!

We offset our carbon usage with Ecologi. Click the link below to help us!

We offset our carbon footprint via Ecologi
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Emacs Markdown-mode Cheat Sheet
          My Emacs Keyboard Shortcuts
          Spacemacs (+Clojure) Keyboard Shortcuts