Cheatography
https://cheatography.com
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 |
Forward-delete 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 |
Incremental search |
C-r |
Reverse incremental search |
M-C-s |
Regex incremental search |
M-C-r |
Regex reverse search |
M-% |
Interactive 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 horizontally |
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 paredit-mode |
Toggle paredit mode |
M-( |
Wrap round |
M-) |
Close round and newline |
M-" |
Wrap double quote |
C-; |
Comment/uncomment 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 opening/closing paren |
Testing/debugging
C-c , |
Run tests for namespace |
C-c C-, |
Re-run test failures/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 |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by bilus