Monday, February 22, 2010

Re: Counting Lines between two markers

Similarly, I just yank the lines and look at the "N lines yanked"
message.

'ay'b

On Feb 21, 7:13 pm, Ben Fritz <fritzophre...@gmail.com> wrote:
> On Feb 20, 6:10 pm, zzapper <da...@tvis.co.uk> wrote:
>
> > Hi
> > :'a,'bs/^// will count the lines between two markers a and b but is there any
> > more elegant way, one that is not seen as an edit?
>
> I usually just highlight the lines in visual mode and look at the
> indicator at the bottom of the screen. Or use g_CTRL-G in visual mode.

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: