Emacs

Emacs Shortcuts

GNU Emacs keyboard shortcuts for editing, navigation, buffers and commands.

Source: Official documentation · Updated 2026-06

Shortcuts
5
Categories

Cheat sheet guide

Emacs shortcuts worth learning first

This page collects 44 searchable Emacs keyboard shortcuts across 5 categories. Start with the shortcuts for File & Buffers, Navigation, Editing, Search, then print the cheat sheet once the important ones are worth keeping nearby.

  • Open fileCtrlXCtrlF
  • Move forward charCtrlF
  • Set mark (start selection)CtrlSpace
  • Incremental search forwardCtrlS
  • Split window horizontallyCtrlX2
  • Save fileCtrlXCtrlS

File & Buffers

7 shortcuts
Open file
CtrlXCtrlF
Save file
CtrlXCtrlS
Save as
CtrlXCtrlW
Kill buffer
CtrlXK
Switch buffer
CtrlXB
List all buffers
CtrlXCtrlB
Quit Emacs
CtrlXCtrlC

Navigation

13 shortcuts
Move forward char
CtrlF
Move backward char
CtrlB
Move up line
CtrlP
Move down line
CtrlN
Move forward word
AltF
Move backward word
AltB
Move to beginning of line
CtrlA
Move to end of line
CtrlE
Move to beginning of buffer
Alt<
Move to end of buffer
Alt>
Scroll up
CtrlV
Scroll down
AltV
Go to line
AltGG

Editing

12 shortcuts
Set mark (start selection)
CtrlSpace
Kill (cut) region
CtrlW
Copy region
AltW
Yank (paste)
CtrlY
Kill to end of line
CtrlK
Kill word forward
AltD
Kill word backward
AltBackspace
Delete char forward
CtrlD
Undo
CtrlXUCtrl_
Transpose chars
CtrlT
Upcase word
AltU
Downcase word
AltL

Search

5 shortcuts
Incremental search forward
CtrlS
Incremental search backward
CtrlR
Search and replace
Alt%
Regexp search
CtrlAltS
Occur (list matching lines)
AltXoccur

Windows & Frames

7 shortcuts
Split window horizontally
CtrlX2
Split window vertically
CtrlX3
Delete other windows
CtrlX1
Delete current window
CtrlX0
Switch to other window
CtrlXO
Execute extended command
AltX
Cancel command
CtrlG

Frequently asked questions

What is the fastest way to find Emacs shortcuts on this page?

Use the search box or press /, then type an action such as open file.

Can I print this Emacs shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Does this page include Windows and Mac shortcuts for Emacs?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Open file is Ctrl+X Ctrl+F on Windows and Ctrl+X Ctrl+F on macOS where available.

See also

No shortcuts match your search.