Here is the video version, if you prefer it:
We looked at both Emacs and vi and took a stroll around their basic commands. Here are the most essential of the essential:
Emacs:
C-x 1
(C-x
meansCTRL + x
) for closing all but one windowC-x C-s
for saving a fileC-Space
, thenC-w
for cutting (killing) a piece of textC-y
for pasting (yanking) a piece of text
vi:
- There are two modes – insert and command
- To enter insert mode, press
i
, or to append to the end of the line the cursor is on, pressA
- Escape insert mode with
Esc
- Delete characters (while in command mode) with
x
- Save and quit by writing
:wq
and pressing Enter
Talk soon!
NewsletterUpdates on interesting things I am doing
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.