Show Menu
Cheatography

Spacemacs Cheat Sheet by

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­-li­nk-­wit­h-p­roject
add a project to the current session (REPL)

Org Mode

, T T
Toggle Todo
 

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 indent­ation

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 indent­ation
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 [horiz­ontal 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

Magit

,,
submit commit message
 

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

          Spacemacs (+Clojure) Keyboard Shortcuts
          spacemacs-org Cheat Sheet