Cheatography
https://cheatography.com
Some Emacs Shortcuts for Clojure Development
REPL
C-c M-o |
Clear REPL |
C-c M-n |
Switch REPL to current Namespace |
M-p |
REPL Scroll History Back |
M-n |
REPL Scroll History Forward |
Paredit
C-M-Right |
Extend the () to the Right |
C-M-Left |
Extend the () to the Left |
Navigation
C-n |
Next Line |
C-p |
Prev Line |
C-b |
Char Back |
C-f |
Char Forward |
C-a |
Beginning of Line |
C-e |
End of Line |
|
|
General Clojure
C-c , |
Execute Unit-Tests |
C-c C-k |
Compile File |
C-x b |
Change Buffer |
General Emacs
C-x C-s |
Save File |
M-. |
Go to Function Definition |
C-c C-d |
Show Doc for Function |
C-j |
Newline and Indent |
C-h c |
Describe what a Key Combination does |
C-h ? |
Get Help |
C-k |
Kill Line |
C-_ |
Undo |
C-c u |
Undo |
C-x C-c |
Save and Exit |
|
|
S Expr Navigation
C-M-n |
forward-list Move forward over a parenthetical group |
C-M-p |
backward-list Move backward over a parenthetical group |
C-M-f |
forward-sexp Move forward over a balanced expression |
C-M-b |
backward-sexp Move backward over a balanced |
C-M-k |
kill-sexp Kill balanced expression forward |
C-M-SPC |
mark-sexp Put the mark at the end of the sexp. |
Copy/Kill/Paste
C-w |
Cut (really kill) |
M-w |
Copy (really kill-ring-save) |
C-y |
Paste (really yank) |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets