Move to the first line with gg.
In command mode, type :.,$d and the car is gone.
Delete from the current row to the last row.
Read More:
- [Solved] Es delete all the data in the index without deleting the index structure, including curl deletion
- [solution] install youcompleteme through VIM plug-in manager VIM plug, including ycmd server shutdown solution
- Differences between VI and VIM in Linux
- Docker delete error response from daemon: Conflict: unable to delete xxxxx solution
- How to replace strings in VIM
- Matlab delete row or col to delete the row or column of the matrix
- VIM search settings highlight
- Save file and exit command of vim
- Delete the specified crontab timer task under Linux
- Error analysis of swap file “*. SWP” already exists! When editing files with VIM
- After editing a file with the VIM command in xshell, the ESC key cannot be output,,,
- VIM e667: fsync failed error
- Delete files with specified suffix in specified folder under Linux
- Perl application – delete “. SVN” folder in current directory and subdirectory
- Error of replacing VIM editor: s in Linux: pattern not found
- Batch delete process
- Linux shell RM deletes all. O suffix files in the subdirectory
- VIM setting file encoding format
- Lua — using remove to delete table data
- Revoking undo and revoking redo by VIM