Reputation: 87
I use shift + V to highlight current line
If I want to drag that line till line @@@@ WHILE KEEPING THE VISUAL MODE (highlighted), what command should I use?
(I tried :@@@@, but it moves to line @@@@ without keeping the visual mode)
Upvotes: 0
Views: 249
Reputation: 196516
You can't keep the visual mode highlighting because moving the line implies leaving visual mode.
All you can do is re-highlight the line after the move…
Move the current line to before line 324:
:m324-
Reselect the line:
V
Which begs the question: why highlight that line in the first place?
Upvotes: 1