Emacs

Emacs Shortcuts

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

Source: Official documentation · Updated 2025-05

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.

  • Switch OS tabs for Windows, macOS, or Linux shortcuts.
  • Use / to jump to search instantly.
  • Use Compare mode when moving between machines.
  • Print or save the page as a compact PDF cheat sheet.
File & Buffers 7 shortcuts
Open file
Ctrl+XCtrl+F
Save file
Ctrl+XCtrl+S
Save as
Ctrl+XCtrl+W
Kill buffer
Ctrl+XK
Switch buffer
Ctrl+XB
List all buffers
Ctrl+XCtrl+B
Quit Emacs
Ctrl+XCtrl+C
Navigation 13 shortcuts
Move forward char
Ctrl+F
Move backward char
Ctrl+B
Move up line
Ctrl+P
Move down line
Ctrl+N
Move forward word
Alt+F
Move backward word
Alt+B
Move to beginning of line
Ctrl+A
Move to end of line
Ctrl+E
Move to beginning of buffer
Alt+<
Move to end of buffer
Alt+>
Scroll up
Ctrl+V
Scroll down
Alt+V
Go to line
Alt+GG
Editing 12 shortcuts
Set mark (start selection)
Ctrl+Space
Kill (cut) region
Ctrl+W
Copy region
Alt+W
Yank (paste)
Ctrl+Y
Kill to end of line
Ctrl+K
Kill word forward
Alt+D
Kill word backward
Alt+Backspace
Delete char forward
Ctrl+D
Undo
Ctrl+XU/Ctrl+_
Transpose chars
Ctrl+T
Upcase word
Alt+U
Downcase word
Alt+L
Search 5 shortcuts
Incremental search forward
Ctrl+S
Incremental search backward
Ctrl+R
Search and replace
Alt+%
Regexp search
Ctrl+Alt+S
Occur (list matching lines)
Alt+Xoccur
Windows & Frames 7 shortcuts
Split window horizontally
Ctrl+X2
Split window vertically
Ctrl+X3
Delete other windows
Ctrl+X1
Delete current window
Ctrl+X0
Switch to other window
Ctrl+XO
Execute extended command
Alt+X
Cancel command
Ctrl+G

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.

Advertisement
No shortcuts match your search.