Emacs shortcuts for Mac
154 shortcuts · 17 categories
Emacs is a text editor that is popular among programmers and is known for its extensibility and customizability. Download Emacs
Hover a shortcut to add it to Pie Menu
Mac keyboard shortcuts for Emacs
Registers
- Jump to point saved in register^ x  r  j
- Save value of point in register^ x  r  space
- Insert register contents into buffer^ x  r  i
- Save region in register^ x  r  s
Info
- Quit Infoq Add →
- Search nodes for regexps Add →
- Look up a subject in the indicesi Add →
- Run Info tutorialh Add →
- Go to any node by nameg Add →
- Go to top node of Info filet Add →
- Return to directory noded Add →
- Return to last node you sawl Add →
- Follow cross reference (return with l)f Add →
- Select nth menu item by number (1–9)n Add →
- Select menu item by namem Add →
- Move upu Add →
- Previous nodep Add →
- Next noden Add →
- Move to beginning of nodeb Add →
- Scroll reverse⌫ Add →
- Scroll forwardspace Add →
- Find specified function or variable in Info^ h  s
- Enter the Info documentation reader^ h  i
Rectangles
- Prefix each line with a string^ x  r  t
- Blank out rectangle^ x  r  c
- Open rectangle, shifting text right^ x  r  o
- Yank rectangle^ x  r  y
- Kill rectangle^ x  r  k
- Copy rectangle to register^ x  r  r
Shells
- Start a shell in window *shell*shell
- Filter region through a shell commandcontrol u  alt |
- Run a shell command on the regionoption |
- Execute a shell command asynchronouslyoption &
- Execute a shell commandoption !
Transposing
Buffers
- Kill a buffer^ x  k
- List all buffers^ x b
- Select another buffer^ x  b
The Minibuffer
- Activate menu bar items on text terminalsf10 Add →
- Abort command⌃ (control) + g Add →
- Regexp search forward through history⌥ (option) + s Add →
- Regexp search backward through history⌥ (option) + r Add →
- Fetch later minibuffer input or default⌥ (option) + n Add →
- Fetch previous minibuffer input⌥ (option) + p Add →
- Show possible completions? Add →
- Complete and execute↵ Add →
- Complete up to one wordspace Add →
- Complete as much as possible⇥ Add →
Case Change
Formatting
- Set face⌥ (option) + o Add →
- Set prefix each line starts with^ x .
- Set fill column to arg^ x f
- Fill paragraph⌥ (option) + q Add →
- Put exactly one space at point⌥ (option) + space Add →
- Delete all white space around point⌥ (option) + \ Add →
- Join line with previous (with arg, next)⌃ (control) + ⌥ (option)Add →
- Delete blank lines around point^ x o
- Move rest of line vertically down⌃ (control) + ⌥ (option) + o Add →
- Insert newline after point⌃ (control) + o Add →
- Indent for comment⌥ (option) + ; Add →
- Indent region rigidly arg columns^ x tab
- Indent sexp (mode-dependent)⌃ (control) + ⌥ (option) + q Add →
- Indent region (mode-dependent)⌃ (control) + ⌥ (option) + \ Add →
- Indent current line (mode-dependent)⇥ Add →
Marking
- Mark entire buffer^ x h
- Mark function⌃ (control) + ⌥ (option) + h Add →
- Mark sexp⌃ (control) + ⌥ (option) + @ Add →
- Mark page^ x p
- Mark paragraph⌥ (option) + h Add →
- Set mark arg words away⌥ (option) + @ Add →
- Exchange point and mark⌃ (control) + x Add →
- Set mark here⌃ (control) + @ Add →
Killing and Deleting
- Replace last yank with previous kill⌥ (option) + y Add →
- Yank back last thing killed⌃ (control) + y Add →
- Kill through next occurrence of 'c' char⌥ z c
- Copy region to kill ring⌥ (option) + w Add →
- Kill region⌃ (control) + w Add →
- Delete sexp to end⌃ (control) + ⌥ (option) + k Add →
- Delete sexp to beginning⌥ (option) + ⌃ (control) + k Add →
- Delete sentence to end⌥ (option) + k Add →
- Delete sentence to bebinning^ x del
- Delete line to end⌃ (control) + k Add →
- Delete line to beginning⌥ (option) + ⌃ (control) + k Add →
- Delete word forward⌥ (option) + d Add →
- Delete word backward⌥ (option) + ⌫ Add →
- Delete character forward⌃ (control) + d Add →
- Delete character backward⌫ Add →
Motion
- Back to indentation⌥ (option) + m Add →
- Goto char⌥ g c
- Goto line⌥ g g
- Scroll current line to center, top, bottom⌃ (control) + l Add →
- Scroll right^ x >
- Scroll left^ x <
- Scroll to previous screen⌥ (option) + v Add →
- Scroll to next screen⌃ (control) + v Add →
- Move to buffer beginning⌥ (option) + > Add →
- Move to buffer beginning⌥ (option) + < Add →
- Move to function end⌃ (control) + ⌥ (option) + e Add →
- Move to function beginning⌃ (control) + ⌥ (option) + a Add →
- Move to sexp end⌃ (control) + ⌥ (option) + f Add →
- Move to sexp beginning⌃ (control) + ⌥ (option) + b Add →
- Move to page end^ x ]
- Move to page beginning^ x [
- Move to paragraph end⌥ (option) + } Add →
- Move to paragraph beginning⌥ (option) + { Add →
- Move to sentence end⌥ (option) + e Add →
- Move to sentence beginning⌥ (option) + a Add →
- Move to line end⌃ (control) + e Add →
- Move to line beginning⌃ (control) + a Add →
- Move over line backward⌃ (control) + p Add →
- Move over line forward⌃ (control) + n Add →
- Move over word forward⌥ (option) + f Add →
- Move over word backward⌥ (option) + b Add →
- Move over character backward⌃ (control) + b Add →
- Move over character forward⌃ (control) + f Add →
Incremental Search
- Abort current search⌃ (control) + g Add →
- Undo effect of last character⌫ Add →
- Exit incremental search↵ Add →
- Select next later search string⌥ (option) + n Add →
- Select previous search string⌥ (option) + p Add →
- Reverse regular expression search⌃ (control) + ⌥ (option) + r Add →
- Regular expression search⌃ (control) + ⌥ (option) + s Add →
- Search backward⌃ (control) + r Add →
- Search forward⌃ (control) + s Add →
Error Recovery
Getting Help
Files
- Toggle read-only status of buffer^ x q
- Write buffer to a specified file^ x w
- Replace this file with the file you really want^ x v
- Insert contents of another file into this buffer^ x i
- Save all files^ x s
- Save a file back to disk^ x s
- Read a file into Emacs^ x f
General
Download Keyboard Cheat Sheet for Emacs for Mac
Do you want all keyboard shortcuts for Emacs in one pdf?

Community shortcuts for Emacs
Be the first to share — open Pie Menu → Emacs → Share Config
View community page →
Get started with Pie Menu today.
The convenience of shortcuts without the memorization!