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-xmeansCTRL + x) for closing all but one windowC-x C-sfor saving a fileC-Space, thenC-wfor cutting (killing) a piece of textC-yfor 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
:wqand pressing Enter
Talk soon!
Leave a Reply