Emacs Keyboard Shortcuts

Emacs keyboard shortcut reference covering 30 bindings for Windows, Mac & Linux. Commonly searched bindings include Save File, Exit Emacs, and Find File. 30 of 30 shortcuts are verified against official Emacs documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official Emacs documentation

Editing

ActionDescriptionWindowsMacVerifiedSource
Undo Undo last change Ctrl+/ Ctrl+/ Windows, macOS, Linux Source
Kill Line Cut from cursor to end of line Ctrl+K Ctrl+K Windows, macOS, Linux Source
Kill Region Cut selected region Ctrl+W Ctrl+W Windows, macOS, Linux Source
Yank Paste (yank) last kill Ctrl+Y Ctrl+Y Windows, macOS, Linux Source
Delete Char Delete character forward Ctrl+D Ctrl+D Windows, macOS, Linux Source
Open Line Insert blank line below Ctrl+O Ctrl+O Windows, macOS, Linux Source

File

ActionDescriptionWindowsMacVerifiedSource
Save File Save the current file Ctrl+X then Ctrl+S Ctrl+X then Ctrl+S Windows, macOS, Linux Source
Exit Emacs Exit Emacs (prompts to save) Ctrl+X then Ctrl+C Ctrl+X then Ctrl+C Windows, macOS, Linux Source
Find File Open file by name Ctrl+X then Ctrl+F Ctrl+X then Ctrl+F Windows, macOS, Linux Source

General

ActionDescriptionWindowsMacVerifiedSource
Cancel Command Cancel current command or beep Ctrl+G Ctrl+G Windows, macOS, Linux Source
Execute Command Run extended command (M-x) Alt+X Option+X Windows, Linux Source
Help Open Emacs help Ctrl+H Ctrl+H Windows, macOS, Linux Source

Navigation

ActionDescriptionWindowsMacVerifiedSource
Beginning of Line Move to start of line Ctrl+A Ctrl+A Windows, macOS, Linux Source
End of Line Move to end of line Ctrl+E Ctrl+E Windows, macOS, Linux Source
Next Line Move down one line Ctrl+N Ctrl+N Windows, macOS, Linux Source
Previous Line Move up one line Ctrl+P Ctrl+P Windows, macOS, Linux Source
Forward Char Move forward one character Ctrl+F Ctrl+F Windows, macOS, Linux Source
Backward Char Move backward one character Ctrl+B Ctrl+B Windows, macOS, Linux Source

Search

ActionDescriptionWindowsMacVerifiedSource
Search Forward Incremental search forward Ctrl+S Ctrl+S Windows, macOS, Linux Source
Search Backward Incremental search backward Ctrl+R Ctrl+R Windows, macOS, Linux Source
Find Replace Query replace Alt+% Option+% Windows, Linux Source

Selection

ActionDescriptionWindowsMacVerifiedSource
Mark Sexp Set mark at end of sexp Ctrl+M-SPC Ctrl+M-SPC Windows, macOS, Linux Source
Exchange Point and Mark Swap cursor and mark Ctrl+X then Ctrl+X Ctrl+X then Ctrl+X Windows, macOS, Linux Source

View

ActionDescriptionWindowsMacVerifiedSource
Scroll Down Scroll down one screen Ctrl+V Ctrl+V Windows, macOS, Linux Source
Scroll Up Scroll up one screen Alt+V Option+V Windows, Linux Source
Recenter Recenter screen on point Ctrl+L Ctrl+L Windows, macOS, Linux Source

Window

ActionDescriptionWindowsMacVerifiedSource
Switch Buffer Switch to another buffer Ctrl+X then B Ctrl+X then B Windows, macOS, Linux Source
Split Window Split window vertically Ctrl+X then 2 Ctrl+X then 2 Windows, macOS, Linux Source
Close Window Delete selected window Ctrl+X then 0 Ctrl+X then 0 Windows, macOS, Linux Source
Other Window Switch to other window Ctrl+X then O Ctrl+X then O Windows, macOS, Linux Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…