C-<chr>
means holding any control key while typing the contents of<chr>
.
M-<chr>
means holding any meta or alt key while typing the contents of<chr>
. Alternative press and release the escape key (=ESC) and the type the contents of<chr>
.
-
Quit session.
-
C-x C-c
-
-
Quit partially entered command.
-
C-g
-
-
Close current window.
-
C-x k
-
-
Close all windows except current.
-
C-x 1
-
-
Edit content.
-
Just start typing without using C, M and ESC. Other keys have standard special meaning i.e. pressing delete key deletes the next character.
-
Undo or Redo
-
C-7
-
-
Reverse default Undo direction.
-
C-g
-
-
Save file.
-
C-x C-s
-
-
-
Navigation
-
Cursor
-
Move by character.
-
<Arrow Keys>
-
-
Move by words.
-
M-<Arrow Keys>
-
-
Move to start of line.
-
<Pos 1 key>
-
-
Move to end of line.
-
<End Key>
-
-
-
Page
-
Next Page
-
C-v or Page Up
-
-
Previous Page
-
M-v or Page Down
-
-
Move screen so cursor is in the middle.
-
C-l
-
-
-
Search
-
Forward
-
C-s <search-term> Enter
-
-
Backward
-
C-r <search-term> Enter
-
-
-
-
Help
-
C-h
-
-
Navigation
-
Cursor
-
up
-
C-p (p=previous)
-
-
down
-
C-n (n=next)
-
-
left
-
C-b (b=backward)
-
-
right
-
C-f (f=forward)
-
-
-
Emacs's GUI can be started withemacs
. Emacs's TUI can be started withemacs --no-window-system
.