On Sun, Dec 28, 2014 at 7:24 PM, Bao Niu <niubao56@gmail.com> wrote:
> If I select a long patch of code spanning several pages, I'd like to view how much I actually selected by scrolling up and down. However this will automatically 'ruins' what I have selected because it changes the anchor!
>
> How can I fix the two ends of what I have selected in visual mode? Many thanks.
You can press 'o' in visual mode to go to the other end of the
selected text -- see :help v_o.
You can also press g CTRL-G in visual mode to see how many
lines/words/bytes you have selected -- see :help v_g_CTRL-G.
Best,
Mathias Rav
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment