Cheatography
https://cheatography.com
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/temporary buffer] |
SPC f [f/p] |
Open [file/doom directory] |
SPC f s |
Save current file |
SPC b [b/k] |
[switch/kill] current buffer |
SPC h [k/f] |
Describe [key/function] |
SPC q [q/R] |
[quit/restart] Emacs |
Window management
SPC w [v/s] |
Split [vertically/horizontally] |
SPC w c |
Close pane |
SPC w w |
Cycle through panes |
SPC w [t/e/a/u] |
Focus [left/lower/right/upper] pane |
|
|
Movement
[t/e/a/u] |
Move [left/down/right/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/cluster] start |
[h/H] |
Move forward to [word/cluster] end |
[b/B] |
Move back to [word/cluster] start |
/ [...] RET |
Search |
[...] [n/N] |
After search: jump to [next/previous] |
[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/previous] fold |
z [h/l] |
Scroll column [left/right] |
|
|
Editing
[o/O] |
[undo/redo] |
[y/Y] |
Yank [selection/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/down/right/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 [character/selection] |
[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 |
|