New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
o
in visual mode
#10
Comments
Agreed. I'll throw this in after I get out of the refactor hell that the dot command has put me in |
O seems to do the same thing in visual mode. So I'll map that as well |
It's always best to go by the spec than just what we observe: *v_o* o Go to Other end of highlighted text: The current cursor position becomes the start of the highlighted text and the cursor is moved to the other end of the highlighted text. The highlighted area remains the same. *v_O* O Go to Other end of highlighted text. This is like "o", but in Visual block mode the cursor moves to the other corner in the same line. When the corner is at a character that occupies more than one position on the screen (e.g., a ), the highlighted text may change. And since we don't have visual block mode (hmm...), they're identical. |
Yeah, without visual block mode they could both map to the same command. That is interesting that there's a distinction in Vim, though. I did not know that. Vim's thorough documentation is a godsend for a project like this |
Agreed, vim's documentation is some of the most thorough around. |
In regards to issue misfo#10, pressing `o` in visual mode will go to the opposite side of the selected text.
This is one of those features that you're really glad exists when you need it. I haven't seen any other editor with a similar feature either, which is a shame.
The text was updated successfully, but these errors were encountered: