IDE

🟣Emacs Keyboard Shortcuts

32 essential shortcuts for Emacs

Files

ShortcutAction
C-x C-fOpen (find) file
C-x C-sSave current buffer
C-x C-wSave buffer as (write file)
C-x C-cQuit Emacs

Navigation

ShortcutAction
C-x bSwitch to buffer
C-x oSwitch to other window
C-v/M-vScroll down / up one page
C-a/C-eBeginning / end of line
M-</M->Beginning / end of buffer
C-s/C-rIncremental search forward / backward
M-g gGo to line number
C-f/C-bMove forward / backward one character
M-f/M-bMove forward / backward one word

Editing

ShortcutAction
C-kKill (cut) from cursor to end of line
C-yYank (paste) last killed text
M-yCycle through kill ring after C-y
C-wKill (cut) selected region
M-wCopy selected region
C-/ or C-_Undo
C-dDelete character forward
M-dDelete word forward
M-%Interactive find and replace

Selection

ShortcutAction
C-SPCSet mark (start selection)
C-x hSelect entire buffer

General

ShortcutAction
M-xExecute named command
C-gAbort current command

Help

ShortcutAction
C-h tOpen tutorial
C-h kDescribe key binding
C-h fDescribe function

Window

ShortcutAction
C-x 2/C-x 3Split window horizontally / vertically
C-x 0Delete current window
C-x 1Delete all other windows

About Emacs Shortcuts

GNU Emacs is an extensible, customizable, self-documenting text editor with a history stretching back to 1976. Often described as an operating system disguised as an editor, Emacs can be extended with Emacs Lisp to handle email, file management, shells, and more. Its keybindings use modifier key combinations (Ctrl and Meta/Alt) known as chords, providing thousands of commands accessible from the keyboard. Emacs's learning curve is steep but rewards users with unmatched extensibility.

This reference covers 32 essential Emacs keyboard shortcuts organized across 7 categories: Files, Navigation, Editing, and more. Each shortcut lists both macOS and Windows/Linux key combinations where applicable, making it easy to find the right key combo regardless of your operating system.

Learning keyboard shortcuts is one of the highest-leverage investments you can make in your daily workflow. Studies show that developers and designers who rely on keyboard shortcuts are measurably faster at common tasks. Rather than memorizing every shortcut at once, focus on the ones you use most frequently and gradually expand your repertoire.

Bookmark this page for quick reference whenever you need to look up a Emacs shortcut. The categorized layout makes it easy to find shortcuts by their function, whether you need navigation, editing, or specialized commands.

Related apps