You are on page 1of 2

Critical

Help

C-x
C-g
C-_
M-x

C-h
C-h
C-h
C-h

C-x : Quit emacs


: Cancel current command
, C-x u : Undo/Redo
: Enter command

Files
C-f
C-s
C-w
f

:
:
:
:

Open
Save
Save
Open

file
file
file as ...
recently visited file

C-x b : Select buffer


C-x C-b : List buffers
C-x s : Save all buffers
;; C-x right : right-cycle through buff

C-j : This file directory

Search

;; C-x left : left-cycle through buffe


Replace

: Search forward
M-% : Search and replace
: Search backward
C-x : Return where search started
occur : regex for lines

Navigation
C-f
C-b
of c
M-f
M-b
C-a
C-e
M-g
ring

Cut, Copy & Paste

: Move char forward


: Move char backward

C-d : Delete char forward


C-k : Kill region between point and end

: Move word forward


: Move word backward
: Move line start
: Move line end
M-g: Goto line

M-k
C-w
M-w
C-y
M-y

M-Y : Move to next item in the kill ring


C-space : set region mark
C-x h

: mark whole document

Text
M-q : wrap text
M-; : comment dwim (do what i mean)
C-M-\ : indent region
Windows
C-x
C-x
C-x
C-x

: Help
Command apropos
Describe key
Describe binding

Buffers

C-x
C-x
C-x
C-x
ers
C-x
rs

C-s
C-r
C-x
M-x

C-h
a :
k :
b :

0
1
2
3

:
:
:
:

Delete current window


Delete other window
Split window vertically
Split window horizontally

;; NOT WORKING IN MACOS TERMINAL

:
:
:
:
:

Cut sentence forward


Kill region (cut)
Kill without delete (copy)
Yank kill buffer (paste)
Move to previous item in the kill

;; needs custom keybindings for these


C-left : move one word left
C-right : move one word right
C-up : move one paragraph up
C-down : move one paragraph down
home : move to the beginning of the line
end : move to the end of the line
page up : move up a page
page down : move down a page
M- : move to end of buffer

You might also like