Neal’s Emacs Cheat Sheet
May 4, 2013 | In: WNYLUG
Emacs is my favorite simple text editor on Linux. To help everyone who is not used to Emacs here is a quick reference list of the commands I often use.
First some terms.
- Files are opened as buffers. When the buffer is saved the file is updated with the changes contained in the buffer. Multiple buffers can be open.
- A window is viewer for display and editing a buffer. Multiple windows can be shown.
- open file: ctrl+x ctrl+f
- close file: ctrl+x k (press enter when prompted to close)
- save file: ctrl+x ctrl+s
- quit Emacs: ctrl+x ctrl+c
- split window into two windows top/bottom: ctrl+x 2
- split window into two windows left/right: ctrl+x 3
- close other split windows: ctrl+x 1
- move to next window: ctrl+x o
- list buffers: ctrl+x ctrl+b
- open Emacs shell: alt+x eshell