Skip to content

Instantly share code, notes, and snippets.

@wfaler
Created January 26, 2014 14:02
Show Gist options
  • Save wfaler/8633143 to your computer and use it in GitHub Desktop.
Save wfaler/8633143 to your computer and use it in GitHub Desktop.
emacs shortcuts
M-x shell opens shell
C-x C-f open file
C-x C-c exit emacs
C-x C-k kill line after cursor
M-k kill sentence
M-d kill word
C-x Del kill previous sentence
C-g exit mini-buffer
C-space start marking text
M-h mark paragraph
C-x C-p mark page
C-w "Wipe" (Cut marked text)
M-w Copy region
C-y "Yank" (Paste last wipe)
M-y "Yank" previous wipes/deletions
C-x C-w Save file as
C-x u Undo
C-x o move to other buffer
C-x b Switch buffer
C-x C-b List buffers
C-x 0 Close this window
c-x 1 Close other windows
M-% search & replace
MOVE
M-f forward word
M-b backward word
C-a beginning of line
C-e end of line
M-e forward sentence
M-a backward sentence
M-} forward paragraph
M-{ backward paragraph
C-x [ backward page
C-x ] forward page
C-l recenter
M-x goto-line goes to line number
C-v Move screenfull forward
ESC v Move screen backwards
ESV > Move to end of buffer
ESC < Move to beginning of buffer
C-x { Decrease width of pane
C-x } Increase width of pane
C-x d Dired mode
A regex search on marked files
C copy file
d mark for deletion
D immediate deletion
L load file
q quit window
R rename file
S symlink to file
u unmark
x delete files marked for deletion
+ create directory
ENSIME
C-c C-v i inspect type
C-c C-v v search globally for method or type
C-c C-v r list references to symbol
C-c C-v f format file
M-x ensime-reload reload ensime file
M-. jump to definition of symbol
CLOJURE
C-c TAB complete suggestions
C-x C-e evaluate expression behind cursor
C-c C-k save and compile this buffer
C-c C-e Slime eval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment