CIDER keystrokes in Spacemacs
|
Key Binding
|
Description
|
Alt Keys
|
|
r ?
|
describe refactoring
|
|
|
r a d
|
add declaration
|
|
|
r a i
|
add import to ns
|
|
|
r a m
|
add missing libspec
|
|
|
r a p
|
add project dependency
|
|
|
r a r
|
add require to ns
|
|
|
r a u
|
add use to ns
|
|
|
r c (
|
convert coll to list
|
|
|
SPC m r c ‘
|
convert coll to quoted list
|
|
|
r c {
|
convert coll to map
|
|
|
r c #
|
convert coll to set
|
|
|
r c [
|
convert coll to vector
|
|
|
r c i
|
cycle if
|
|
|
r c n
|
clean ns
|
|
|
r c p
|
cycle privacy
|
|
|
r d k
|
destructure keys
|
|
|
r e c
|
extract constant
|
|
|
r e d
|
extract definition
|
|
|
r e f
|
extract function
|
|
|
r e l
|
expand let
|
|
|
r f u
|
find usages
|
|
|
r f e
|
create fn from example
|
|
|
r h d
|
hotload dependency
|
|
|
r i l
|
introduce let
|
|
|
r i s
|
inline symbol
|
|
|
r m f
|
move form
|
|
|
r m l
|
move to let
|
|
|
r p c
|
project clean
|
|
|
r p f
|
promote function
|
|
|
r r d
|
remove debug fns
|
|
|
r r f
|
rename file
|
|
|
r r l
|
remove let
|
|
|
r r r
|
remove unused requires
|
|
|
r r s
|
rename symbol
|
|
|
r r u
|
replace use
|
|
|
r s n
|
sort ns
|
|
|
r s p
|
sort project dependencies
|
|
|
r s r
|
stop referring
|
|
|
r s c
|
show changelog
|
|
|
r t f
|
thread first all
|
|
|
r t h
|
thread
|
|
|
r t l
|
thread last all
|
|
|
r u a
|
unwind all
|
|
|
r u p
|
update project dependencies
|
|
|
r u w
|
unwind
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
SPC m ,
|
handle shortcut (cider-repl-handle-shortcut)
|
|
|
s b
|
send and eval buffer in REPL
|
,se
|
|
s B
|
send and eval buffer and switch to REPL in insert state
|
|
|
s c
|
connect to REPL (cider-connect) or clear repl buffer (cider-repl-clear-buffer)
|
|
|
s C
|
clear REPL (cider-find-and-clear-repl-output)
|
|
|
s e
|
send and eval last sexp in REPL
|
|
|
s E
|
send and eval last sexp and switch to REPL in insert state
|
|
|
s f
|
send and eval function in REPL
|
|
|
s F
|
send and eval function and switch to REPL in insert state
|
|
|
s i
|
start REPL (cider-jack-in)
|
, '
|
|
s I
|
start clojurescript REPL (cider-jack-in-clojurescript)
|
|
|
m s n
|
send and eval ns form in REPL
|
|
|
m s N
|
send and eval ns form and switch to REPL in insert state
|
|
|
m s q
|
kill REPL (cider-quit)
|
|
|
s o
|
switch to other repl instance (cider-repl-switch-to-other)
|
|
|
s r
|
send and eval region in REPL
|
|
|
s R
|
send and eval region and switch to REPL in insert state
|
|
|
s s
|
switch to REPL or jump to last file or last clj buffer from repl (cider-repl)
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
e b
|
eval buffer
|
|
|
e e
|
eval last sexp
|
|
|
e f
|
eval function at point
|
|
|
e r
|
eval region
|
|
|
e m
|
cider macroexpand 1
|
|
|
e M
|
cider macroexpand all
|
|
|
e p
|
print last sexp (clojure interaction mode only)
|
|
|
e w
|
eval last sexp and replace with result
|
|
|
d b
|
instrument expression at point
|
|
|
d e
|
display last stacktrace
|
|
|
d r
|
reload namespaces
|
|
|
d v
|
inspect expression at point
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
f l
|
realign current form
|
|
|
f b -OR- =
|
reformat current buffer
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
T e
|
toggle englighten mode
|
|
|
T f
|
toggle REPL font-locking
|
|
|
T e
|
toggle cider-enlighten-mode
|
|
|
T p
|
toggle REPL pretty-printing
|
|
|
T i
|
toggle indentation style
|
|
|
T t
|
toggle auto test mode
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
h a
|
cider apropos
|
|
|
h g
|
cider grimoire
|
|
|
h h
|
cider doc
|
|
|
h j
|
cider javadoc
|
|
|
h n
|
cider browse ns
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
g b
|
go back
|
|
|
g C
|
browse classpath
|
|
|
g g
|
goto var
|
|
|
g e
|
goto error
|
|
|
g r
|
goto resource
|
|
|
g n
|
browse namespaces
|
|
|
g N
|
browse all namespaces
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
t a
|
run all tests in namespace
|
|
|
t r
|
re-run test failures for namespace
|
|
|
t t
|
run test at point
|
|
|
Key Binding
|
Description
|
Alt Keys
|
|
C-j
|
next cause
|
|
|
C-k
|
previous cause
|
|
|
TAB
|
cycle current cause
|
|
|
0
|
cycle all causes
|
|
|
1
|
cycle cause 1
|
|
|
2
|
cycle cause 2
|
|
|
3
|
cycle cause 3
|
|
|
4
|
cycle cause 4
|
|
|
5
|
cycle cause 5
|
|
|
a
|
toggle all
|
|
|
c
|
toggle clj
|
|
|
d
|
toggle duplicates
|
|
|
J
|
toggle java
|
|
|
r
|
toggle repl
|
|
|
T
|
toggle tooling
|
|
|
Key Binding
|
Description
|
|
TAB
|
next inspectable object
|
|
Shift-TAB
|
previous inspectable object
|
|
RET
|
inspect object
|
|
L
|
pop to the parent object
|
|
n
|
next page in paginated view
|
|
N
|
previous page in paginated view
|
|
r
|
refresh
|
|
s
|
set a new page size
|
|
Key Binding
|
Description
|
|
C-j
|
next result
|
|
C-k
|
previous result
|
|
RET
|
jump to test
|
|
d
|
ediff test result
|
|
e
|
show stacktrace
|
|
r
|
rerun failed tests
|
|
t
|
run test
|
|
T
|
run tests
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.