Andy Wokula wrote:
How can I move the cursor the start of the visual selection? With the
"o" command, yes. But how can I make sure the cursor is at the start
while visual mode is on? The "`<" motion followed by "gv" sets the
cursor back to the end if it was there.
I'm afraid that I don't understand your request.
ctrl-v (move) o
already puts the cursor into the upper left hand corner, assuming that
you started with the upper left hand corner.
ctrl-v (move) o <esc> (move) gv
also puts the cursor back into the upper left hand corner (same assumption).
The "gv" already moves the cursor, so typing `< gv is the same as
typing gv.
If what you want is to
ctrl-v (move) <esc> ... gv
and have that end up with the cursor at the upper left hand corner, just
follow it by an o ; ie.
ctrl-v (move) <esc> ... gvo
Regards,
Chip Campbell