Create
Learn
Share

Emacs

rename
Updated 2007-05-23 23:35

Summary

Keys for the emacs Editor. Memorize the keys!

Basics

ActionShortcuts
QuitC-x C-c
Open FileC-x C-f
SaveC-x C-s
UndoC-/
Search (incremental)C-s (then start typing search string)
memorize

More

Question Answer
Help (tutorial)C-h t
Help (other options)C-h ?
Switch to buffer (or file)C-x b tab (then start typing name and press tab again)
Close bufferC-x k enter
Cancel current commandC-g
memorize

Misc

Cursor movement

The arrow keys can be used to move the cursor. Optionally, you can use the following keys to move the cursor as well.
Question Answer
back (left)C-b
forward (right)C-f
previous line (up)C-p
next line (down)C-n
beginning of lineC-a
end of lineC-e
memorize

More

Keys to navigate the file or terminal in addition to using the arrow keys.
Question Answer
forward wordM-f
backward wordM-b
page downC-v
page upM-v
beginning of fileM-<
end of fileM->
memorize

More

Question Answer
View current dirC-x C-f . enter
Split windowC-x 2
Jump to next windowC-x o
Close frameC-x 0
Expand frameC-x 1
memorize

Recent badges