Learning VIM gently by Sujata Biswas

Learning VIM gently by Sujata Biswas

Author:Sujata Biswas
Language: eng
Format: azw3, epub, pdf
Publisher: UNKNOWN
Published: 2017-07-04T07:00:00+00:00


This is a handy command to delete a whole line. Place the cursor at the beginning of the line and type dd to delete the whole line. Multiple lines can also be deleted by placing a number before dd. If you want to delete 4 lines, then the command will 4+dd. Remember, that an empty line is also a “line” for vim.

Notice the placement of the cursor in the following snapshot, which is on the word like.

Screenshot shows the selection of portion of the line to be deleted.

If you want partially to delete the line from the start of the line until the placement of the cursor, then type d + Zero, notice the in the following screenshot, you can see that words before the word like have been deleted.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.