A great way to get to know what does what in emacs is to use the help
Command Description | Key Sequence |
---|---|
View Help Options | Ctrl-h, ? |
View the Emacs manual | Ctrl-h, i |
View the documentation of the current Major Mode | Ctrl-h, m |
View current key bindings | Ctrl-h, b |
Command Description | Key Sequence |
---|---|
Open | Ctrl-x, Ctrl-f |
Save | Ctrk-x, Ctrl-s |
Save As | Ctrl-x, Ctrl-w |
In emacs what in other software might be called the caret, or the cursor, is called the 'point'.
Command Description | Key Sequence |
---|---|
Go to line | Meta-g, g |
Save the point position in a register | Ctrl-x, r, Space, #register_number |
Jump to a point position saved in a register | Ctrl-x, r, j, #register_number |
Go to top of Buffer | Meta-< |
Go to end of Buffer | Meta-> |
Distance | Direction | Key Sequence |
---|---|---|
Word | Forward | Meta-f |
Backward | Meta-b | |
Line | Start | Ctrl-a |
End | Ctrl-e | |
Paragraph | Forward | Meta-{ |
Backward | Meta-} | |
Page | Forward | Ctrl-V |
Backward | Meta-V |
Command Description | Key Sequence |
---|---|
Close | Ctrl-x, k |
Offer each buffer in turn to be closed | Meta-x kill-some-buffers |
Select buffer | Ctrl-x, b buffer_name |
Move to next buffer | Ctrl-x, o |
Move to next buffer | Ctrl-x, Right Arrow |
Move to previous buffer | Ctrl-x, Left Arrow |
Vertically split window & select from buffers | Ctrl-x, Ctrl-b |
Maximise window | Ctrl-x, 1 |
Split window horizontally | Ctrl-x, 2 |
Split window vertically | Ctrl-x, 3 |
List available buffers for selection | Ctrl-x, Ctrl-b |
Insert text from buffer | Meta-x insert-buffer |
Command Description | Key Sequence |
---|---|
Copy selection to register | Ctrl-x r s #register_number |
Copy selection from register | Ctrl-x r i #register_number |
Command Description | Key Sequence |
---|---|
Undo | Ctrl-x, u |
Begin Selection (set mark) | Ctrl-Space |
Exchange point and mark | Ctrl-x, Ctrl-x |
Cancel Selection | Ctrl-g |
Cut Selection | Ctrl-w |
Cut Line | Ctrl-k |
Paste (Yank) | Ctrl-y |
Copy selection to register | Ctrl-x, r, s, #register_number |
Paste (insert) from register | Ctrl-x, r, i, #register_number |
Delete (forward delete) | Ctrl-d |
Delete Current or Previous Word | Meta-BackSpace |
Delete Current or Next Word | Meta-d |
Search and Replace | Meta-% |