How do i delete a block of text in vim using the visual text selection?
-
Sample text.
Get Back, get back again and again I've been here since I can remember when My life is a boat, being blown by you With nothing ahead, just the deepest blue To me you're like a setting sun You rise then you're gone To me you're like a setting sun You rise then you're gone
I want to delete lines 6 and 7.
Press
v
on the keyboard (lowercase), use cursor keys to got to the end of the line 6 and press the down cursor key, you should be both line selected now.Press
d
on the keyboard (lowercase).
© Lightnetics 2024