- D$ - deletes the whole line or sentence
- Dw - deletes the word you on
- w- until the start of the next word, EXCLUDING its first character.
- e - to the end of the current word, INCLUDING the last character.
- $ - to the end of the line, INCLUDING the last character.
- 0 - goes back to the start of the line
It is lower case d, right? I mean "dw", not "Dw". I learned to use a new command this weekend - named buffers. By typing:
ReplyDelete"ayy - save the current line to the a buffer.
"b3yy - save 3 lines to the b buffer.
I'll show you this today.