Is there a handy way to do this?

My input:

#   A
# - B

Desired output:

# - A
#   B

My current solution is xjphxkP, which seems like a lot of keystrokes.

I realize I could record a macro, but it seems like with "visual block" selection (ctrl-v) there should be a way to do it with one operation, enabling the . operator.

  • 1
    I think (untested) you could simplify to xjvpkP – D. Ben Knoble Mar 26 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.