In vim, by pressing Ctrl+V you can enter Visual block mode. When I select multiple lines by moving around with h,j,k and l, and press delete using d or D, the text gets deleted, but the underlying lines remain there.
Which means although the text is gone, the surrounding code is still spaced out a lot.
Is there any way to delete the lines + the text?
before
andafter
text. It will give a clear picture what are you trying to do?