Vim useful commands

Deleting

Delete from next line to end of file: :+,$d

Delete next 6 lines: :+,5d

Delete to begin of file: :1,.d

Advertisements