1: set line number in vim editor, this is command.
:set number or :set nu2: select the number of lines you want to delete , then run the following command, for example, i want to delete three to ten lines(include third and tenth line).
:3,10d3: save and exit
:wq!
No comments:
Post a Comment
Note: only a member of this blog may post a comment.