Emacs
This cheat sheet provides a quick reference for essential Emacs keybindings. Learn to navigate, edit, and manage your files efficiently.
File Manipulation
Open a file
C-x C-f
Write buffer
C-x C-w
Editing
Toggle read-only mode
C-x C-q
Regular expression search
C-M-s
Move to next S-Expression
C-M-f
Move to next function
C-M-e
Window Management
Delete this window
C-x 0
Delete all other windows
C-x 1
Split window horizontally
C-x 2
Split window vertically
C-x 3
Indentation
Indent current line
TAB
Indent region
C-M-\
Indent S-Expression
C-M-q
Other Commands
Transpose lines
C-x C-t
Kill region
C-w
Yank back last kill
C-y
Mark buffer
C-x h
Mark S-Expression
C-M-@
Mark function
C-M-h
Switch buffer
C-x b
Kill buffer
C-x k
For more advanced usage and detailed explanations, refer to the official Emacs manual and explore the vast resources available online.