Show Menu
Cheatography

Personal Doom Emacs Configuration Keyboard Shortcuts (DRAFT) by

Contains keyboard shortcuts for my personal doom emacs configuration.

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

Legend

x
x
X
Shift + x
C-x
Ctrl/Cmd + x
M-x
Alt/Opt + x
C-S-x
Ctrl/Cmd + Shift + x
[x/y]
x or y
[...]
Any input

Commands

SPC o e
Open e-shell
SPC [./x]
Open [file/­tem­porary buffer]
SPC f [f/p]
Open [file/doom directory]
SPC f s
Save current file
SPC b [b/k]
[switc­h/kill] current buffer
SPC h [k/f]
Describe [key/f­unc­tion]
SPC q [q/R]
[quit/­res­tart] Emacs

Window management

SPC w [v/s]
Split [verti­cal­ly/­hor­izo­ntally]
SPC w c
Close pane
SPC w w
Cycle through panes
SPC w [t/e/a/u]
Focus [left/­low­er/­rig­ht/­upper] pane
 

Movement

[t/e/a/u]
Move [left/­dow­n/r­igh­t/up]
[T/A]
Jump to line [start­/end]
[gg/G]
Jump to file [start­/end]
g s SPC [...]
Avy jump

Advanced Movement

[w/W]
Move forward to [word/­clu­ster] start
[h/H]
Move forward to [word/­clu­ster] end
[b/B]
Move back to [word/­clu­ster] start
/ [...] RET
Search
[...] [n/N]
After search: jump to [next/­pre­vious]
[m/'] [...]
[Set/Jump to] marker
%
Jump to closing bracket in line

Folding

z a
Toggle fold
z [o/c]
[open/­close] fold
z [m/r]
[open/­close] all folds
z [j/k]
Jump to [next/­pre­vious] fold
z [h/l]
Scroll column [left/­right]

Dired

SPC SPC
Open dired
 

Editing

[o/O]
[undo/­redo]
[y/Y]
Yank [selec­tio­n/line]
[p/P]
Paste [right­/left]
[i/l]
Insert [left/­right]
[I/L]
Insert at line [start­/end]
C-[t/e­/a/u]
During insert mode: move [left/­dow­n/r­igh­t/up]
[ESC/tq]
Exit insert mode

Advanced Editing

v
Enter visual mode
[V/C-v]
Enter [line/­column] visual mode
d[d/h]
Delete [line/­word]
c[d/h]
Change [line/­word]
[r/R]
Replace [chara­cte­r/s­ele­ction]
[E/U]
Insert line [below­/above]
M-[t/e­/a/u]
Shift cluster [left, down, right, up]

Multiple cursors

g z z
Set new cursor
g z t
Pause/­resume cursors
g z q
Delete all set cursors

Projectile

SPC p p
Open project
SPC SPC
Inside project: Switch file buffer