Show Menu

Spacemacs Cheat Sheet by

emacs     spacemacs

Editing

SPC n [f w]
narrow to [function whole]
SPC j j
split line
SPC J
split sexp
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

Search

SPC /
Search in Project

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

SPC m s i
start REPL
SPC m e b
eval buffer
SPC m s b
send and eval buffer
SPC m g g
jump to definition
 

Project

SPC p [r f]
[recent file]
SPC p [! &]
[exec async] command
SPC p p
change project
SPC p t
NeoTree

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)

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 c
close
SPC w C
close other
SPC w m
maximize
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 .spac­emacs

Download the Spacemacs Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/witek_spacemacs.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

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 Cheat Sheet
          Spacemacs (+Clojure) Keyboard Shortcuts