Things we look at in this video are:
2D - (from the beginning of the line) cuts text
P - paste the 2 lines deleted
2D - (from the middle of the line) Deletes from the cursor to the end of the line
P - Pastes the text deleted (cut)
2Y - Yanks (copies) the entire 2 lines starting from the line the cursor is on
2D - Delete (cuts) the text from where the cursor is at on that line and the entire next line.
u - undo
D - Deletes (cuts) text from the cursor to the end of the line
i - Puts us into insert mode
escape - puts us back into normal mode
C - Change text (from cursor to the end of the line (and go into insert mode)
A - Append - jump to the end of the line and go into insert mode
i - insert mode (starting before character you are on)
a - insert mode (starting after the character you are on) append after character
gg- go to top of file
dw - delete a word
d2w - delete 2 words
u - undo
dw - delete from cursor to the end of the word (and the space following that word)
w - go to the next word
2w - go over 2 words
b - go back 1 word
2b - go back 2 words
e - jump to the end of the word
2e - jump to the end of the 2nd word
ge - go to the end of the previous word
2g3 - go to the end of the word 2 words back
w - jump to the end of the word
W - jump to the end of the next word, after next whitespace characters (space, end of line)
b - jump to next word
B - jump back one word, before previous white-space character (space, end of line)
8 Comments