W3Schools Learner's Blog

W3Schools Programming knowledge summary website



vim remove multiple lines | linux centos

vim command remove multiple lines is simple, let's go to learn how to remove multiple lines in vim editor.
1: set line number in vim editor, this is command.
:set number
:set nu
2: 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: save and exit

No comments:

Post a Comment

Note: only a member of this blog may post a comment.