Catalog / Emacs Cheatsheet
Emacs Cheatsheet
A comprehensive guide to Emacs, covering essential commands, navigation, editing, buffers, windows, and customization.
Basic Navigation
Cursor Movement
|
Move cursor forward one character. |
|
Move cursor backward one character. |
|
Move cursor to the next line. |
|
Move cursor to the previous line. |
|
Move cursor forward one word. |
|
Move cursor backward one word. |
|
Move cursor to the beginning of the line. |
|
Move cursor to the end of the line. |
Scrolling
|
Scroll forward one screen. |
|
Scroll backward one screen. |
|
Center current line on screen. |
Going to specific locations
|
Go to the beginning of the buffer. |
|
Go to the end of the buffer. |
|
Go to a specific line number. |
Editing
Basic Editing Commands
|
Delete character at point (cursor). |
|
Delete character before point. |
|
Delete word after point. |
|
Delete word before point. |
|
Kill (cut) to end of line. |
|
Kill (cut) to end of sentence. |
|
Yank (paste) last killed text. |
|
Replace yanked text with previously killed text. |
|
Cut the selected region. |
Working with Regions
|
Set mark at point. |
|
Exchange point and mark. |
Indentation
|
Indent current line (TAB). |
|
Newline and indent. |
|
Indent current line like the previous line. |
Buffers and Files
Buffer Management
|
Find file (open file). |
|
Save file. |
|
Save file as. |
|
Insert file into current buffer. |
|
Switch buffer. |
|
Kill buffer (close buffer). |
|
Toggle read-only status of buffer. |
Working with Multiple Buffers
|
List buffers. |
Windows and Frames
Window Management
|
Split window horizontally. |
|
Split window vertically. |
|
Switch to other window. |
|
Close current window. |
|
Make current window the only one. |
|
Increase window height. |
|
Decrease window height. |
Frame Management
|
Create new frame. |
|
Switch to another frame. |
|
Delete current frame. |