While selecting in visual mode I often accidentally hit H or L instead of h or l due to having used Shift for some previous command (like e.g. V to start selection by line) and not yet released it when trying to move (because hands are not in ideal synchronization).

In normal mode this is not a problem, because a remedy is quick: just hit Ctrl+o and continue. But in visual mode this "go back" command doesn't appear to work. Currently I have to go to normal mode and start selecting all over again, which is an unproductive fix.

So, how can I go back in visual mode? Is there another mapping for this command?

1 Answer 1


You can use the `` motion, which goes back to the position before the last jump.

If you only care about the line, not the column (for example, if you're using visual line mode), then '' also works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.