Show Menu
Cheatography

Emacs > CIDER Keyboard Shortcuts by

File

C-x C-f
Open file
C-x C-s
Save buffer
C-x C-w
Save as
C-x s
Save all
C-x k
Close buffer
C-x C-c
Quit

Edit

C-x r s / C-x r i
Copy/paste from numbered clipboard
M-del
Delete word
M-d
Forwar­d-d­elete word
C-y
Paste
M-y
Yank previous
M-\
Delete blanks around
C-w
Kill region
C--
Expand region
M-q
Re-indent sexpr

Search

C-s
Increm­ental search
C-r
Reverse increm­ental search
M-C-s
Regex increm­ental search
M-C-r
Regex reverse search
M-%
Intera­ctive replace
M-x goto-line
Go to line number
M-x rgrep
Find in files
C-x `
Next match
C-c C-p
Edit grep buffer
C-c C-e
Save grep changes
C-c C-k
Discard grep changes
C-x C-q
Exit grep mode

Windows

C-x k
Close
C-x o
Next window
C-x 1
Maximize
C- b
Choose buffer
C-x 2
Split horizo­ntally
C-x 3
Split vertically
C-x C-b
Choose window
C-x b
Switch window
 

Misc

C-M-a
Next function
C-M-e
Previous function
C-h f
Function key bindings

Paredit

M-x paredi­t-mode
Toggle paredit mode
M-(
Wrap round
M-)
Close round and newline
M-"
Wrap double quote
C-;
Commen­t/u­nco­mment line
C-k
Kill
M-s
Splice
M-?
Convolute
C-)
Slurp forward
C-}
Barf forward
C-(
Slurp backward
C-{
Barf backward
M-S
Split
M-J
Join
M-q
Reindent
C-M-f / C-M-b
Move to openin­g/c­losing paren

Testin­g/d­ebu­gging

C-c ,
Run tests for namespace
C-c C-,
Re-run test failur­es/­errors for namespace
C-c M-,
Run test at point
C-c C-t
Show the test report buffer
C-c M-t v
Toggle var tracing
C-c M-t n
Toggle namespace tracing
C-u C-c C-c
Debug top level form
n
Next step
c
Continue
o
Step out
i
Inject value
e
Eval code in current context
l
Inspect local variables
q
Quit execution
 

CIDER

C-c M-j
Start nREPL
C-c C-e
Eval last form -> buffer
C-c C-p
Eval last form -> popup
C-c C-c
Eval top form -> buffer
C-c C-f
Eval top form -> popup
C-c M-m
Macro-­expand all
C-u C-c C-c
Debug top form
C-c M-n
Switch namespace
C-c C-k
Compile
C-↑, C-↓
Cycle through REPL history
C-↵
Close parens and eval
q
Close stack trace
C-c C-z
Switch to/from REPL
C-c C-x
Reload modified files on classpath
C-c M-r
Rotate default nREPL connection
C-c C-.
Jump to namespace
C-M-r
Reload REPL

Projectile

C-c p f
Go to file
C-c p s g
Grep on project files
C-c p e
Recently visited project files
       

Help Us Go Positive!

We offset our carbon usage with Ecologi. Click the link below to help us!

We offset our carbon footprint via Ecologi
 

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

          My Emacs Keyboard Shortcuts
          Spacemacs (+Clojure) Keyboard Shortcuts
          Emacs and Clojure Cheat Sheet

          More Cheat Sheets by bilus

          clj-refactor Cheat Sheet