Wednesday, November 29, 2017

unix - How can I select and delete lines of text in vi? - Super User

unix - How can I select and delete lines of text in vi? - Super User



You can also use V in view mode to launch "VISUAL LINE" mode. Select your lines and type d to delete them.
 
VISUAL LINE = Shift + v
 
then to delete: d or dd

No comments: