Show Menu

Spacemacs - cider Cheat Sheet by [deleted]

sm

Navigation

Up
k
Down
j
Left
h
Right
l
Down a page
C-d
Up a page
C-u
Up to next paragraph
{
Down to next paragraph
}
Prev. function
[[
Next function
]]
Up to outer brace
[{
Down to outer brace
]}
Right a word
w
Left a word
b
Beginning of file
gg
End of file
G
End of line
$
First non-wh­ite­space char of line
^
Jump to any word
SPC SPC <first letter of word>
Jump back
C-o
Center buffer
zz
Last place edited
g;
Last file path under cursor
gf
 

Editor

Toggle line numbers
SPC t n
Toggle auto complete
SPC t a
Highlight mode
v
Undo
u
Redo
C-r
Comment out line
g c c
Comment out highli­ghted
g c
Copy
y
Paste
p
Paste above
P
Delete
d
Delete char
x
Delete until right paren
d f )
Replace Mode
R
Replace char
r
Change
c
Change all between quotes
c i "
Previous thing copied
SPC r y
Indent highli­ghted text
> and < (also 2> ...
Show whitespace
SPC t w
Tabs to spaces
SPC : untabify
 

Search

Find in buffer
/<­search term> Enter
n (next) N(prev)
Find next instance (word under cursor)
*
Find prev instance (word under cursor)
#
Turn off highli­ghting
:nohl ENTER
Find in project
SPC /
Find (under cursor) in project
SPC *
Find and replace (all lines)
:%s/f­oo/­bar/gc (gci case-i­nse­nsi­tive)
Find and replace (curr line)
:s/fo­o/b­ar/gc

Layouts

Split window vertical
SPC w v
Split window horizontal
SPC w s
Switch window
SPC <no of window­>
Layout help
SPC l ?
 

Cider

Jack In
,'
Open REPL
C-c C-z
Set REPL ns
C-c M-n
Eval Buffer
,eb
Eval curr. func
,ef
Eval curr. func in REPL
,se
Show docs
,hh
Reformat buffer
,=
Require missing ns
,ram
Add project dependency
,rap
Add require to ns
,rar
Goto source code
,gg
Inspect last result
M-x 'cider­-in­spe­ct-­las­t-r­esult'
Inspect last result (drill down)
ENTER
Inspect last result (back out)
C-z (exit evil) l
Run all tests
,ta

Lisp

Slurp
SPC k s
Barf
SPC k b

Download the Spacemacs - cider Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/deleted-41571_spacemacs-cider.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.