If I have this line visually selected
Alpha <-- selected
Bravo
Charlie
is there a vim command to move the selected area down, without adding to the original selection?
Alpha
Bravo
Charlie <-- selected
hjkl key will only add lines to your selection. And I didn't see anything in visual's help doc that indicated it could be done.
In selection mode, you can use o (lowercase o) to swap between moving the top and bottom boundary. So you can do this without leaving selection mode using jjojj.
This will certainly do it:
jjVV
But it isn't really any different from canceling the original selection first:
escjjV
Or:
VjjV
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With