Cheatography
https://cheatography.com
Editing
SPC n [f w ]
|
narrow to [function whole] |
g c c
|
comment line |
SPC c [p l ]
|
comment [paragraph line] |
J
|
join line with next one |
[u Ctrl+R ] |
[undo redo] |
:%s/ old / new
|
replace all old with new |
Lisp Mode SPC .
(
|
insert before |
)
|
insert after |
[0 $ ] |
goto sexp [begin end] |
[b B ] |
barf (narrow) [forward backward] |
[s S ] |
slurp (expand) [forward backward] |
J
|
sexp join |
[p P ] |
paste [after before] |
p Ctrl+P
|
paste previous |
r
|
sexp raise (replace parent with current) |
[w W ] |
[wrap unwrap] |
y
|
sexp copy |
Clojure / CIDER
, s i
|
start REPL |
, e b
|
eval buffer |
, g g
|
jump to definition |
sesman-link-with-project
|
add a project to the current session (REPL) |
|
|
Project
SPC p [r f ]
|
[recent file] |
SPC p [! & ]
|
[exec async] command |
SPC p p
|
change project |
SPC p t
|
NeoTree |
Navigation
Ctrl + o
|
Jump Back |
SPC j i
|
jump to a definition in buffer |
SPC j I
|
jump to a definition any buffer |
SPC f b
|
open bookmarks |
SPC s s
|
search in buffer |
SPC /
|
search in project |
Selection
SPC [v V r ]
|
region [expand contract reset] |
v i i
|
region by indentation |
Formating
SPC j k
|
indent next line |
SPC j =
|
indent file |
Text Objects
w W
|
word |
s
|
sentence |
p
|
paragraph |
t
|
tag |
b
|
block (s-exp) |
i
|
same indentation |
f
|
form |
Movement
''
|
back to last position |
: n ENTER
|
goto line n |
Zooming
SPC z x [+ - 0 ]
|
[bigger smaller reset] font |
Searching
SPC t h a
|
toggle automatic symbol highlight |
|
|
Windows
SPC w x
|
close window and buffer |
SPC w m
|
maximize |
SPC w C
|
close other |
SPC w [- / ]
|
split [horizontal vertical] |
SPC w w
|
cycle |
SPC w [h l k j ]
|
switch to [left right up down] |
Buffers
SPC TAB
|
switch to alternate |
SPC b k
|
kill |
SPC b [n p ]
|
[next previous] |
SPC b s
|
scratch |
Files
SPC f S
|
save all |
SPC f E
|
open with sudo |
SPC f o
|
open with default app |
SPC f R
|
rename |
SPC f d
|
delete |
SPC f t
|
NeoTree |
Help
SPC ?
|
bindings and commands |
Spacemacs
SPC f e d
|
open .spacemacs |
SPC SPC
|
execute emacs command |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets