Show Menu
Cheatography

Emacs Cheat Sheet (DRAFT) by

Loooooooooooooooooooooooong description

This is a draft cheat sheet. It is a work in progress and is not finished yet.

General

C-x C-c
exit
C-g
to quit a partially entered command

File Operations

C-x C-f
open file
C-x C-s
save file

Buffers

C-x b
switch buffer
C-x k
kill buffer

Windows

C-x 2
split window vertically
C-x 3
split window horizo­ntally
C-x 1
close other windows
C-x o
go to next window
 

Text Navigation

C-v
view next screen
M-v
view previous screen
C-f
move forward a character
C-b
move backward a character
M-f
move forward a word
M-b
move backward a word
C-n
move to next line
C-p
move to previous line
C-a
move to beginning of line
C-e
move to end of line
M-a
move back to beginning of sentence
M-e
move forward to end of sentence
M-<
move to start
M->
move to end

Text Editing

C-_
undo
C-g C-_
redo
M-w
copy
C-w
cut
C-y
paste
C-space
mark the starting point for copy/cut a text
C-x h
select all
M-d
delete the word to the right
M-back­space
delete the previous word
C-k
delete all characters from cursor to end of line
 

Searching Text

C-s
start search and find next
C-r
find previous
Enter
to exit search
C-g
exit search and leave the cursor at the place before search started

Evaluate Code

C-x C-e
evaluate single s-expr­essions

Other

M-x eval-b­uffer
reload config
C-h t
open tutorial
C-x k
stop tutorial