Thursday, January 6, 2011

January,6, 2011

so today I re continue the tutorial of "VIM"  which I knew most of the commands, but today I learned new commands for example
  • 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

     

1 comment:

  1. It is lower case d, right? I mean "dw", not "Dw". I learned to use a new command this weekend - named buffers. By typing:

    "ayy - save the current line to the a buffer.
    "b3yy - save 3 lines to the b buffer.

    I'll show you this today.

    ReplyDelete