ine.=%(\ %{VisualSelectionSize()}%)
> >
> > you would append it to your current status line. The group %(...%) takes
> > care of removing the space if VisualSelectionSize() returns an empty
> > string when you are not in a visual mode.
> >
> > Regards,
> > Jü
..%) takes
> care of removing the space if VisualSelectionSize() returns an empty
> string when you are not in a visual mode.
>
> Regards,
> Jürgen
>
> --
> Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has t
Hi,
carlosp wrote:
>
> Dear all, I would like to know if there is some non-baroque way of, when
> doing a selection of some text, set in the status line just the number of
> characters in the selection (and of course, when one modifies the selection,
> as moving the coursor in the visual mode) t
hat I ask for, but is
very very close. That shows me the number of lines. Anyone knows how to
"program" such a behavior? I have never browsed through the vim source code,
I wonder if one would get inspired or totally confused...
--
View this message in context:
http://vim.1045645.n5.nabble
On Fri, February 18, 2011 2:10 am, carlosp wrote:
>
> Dear all, I would like to know if there is some non-baroque way of, when
> doing a selection of some text, set in the status line just the number of
> characters in the selection (and of course, when one modifies the
> selection,
> as moving the
-count-selection-and-put-in-statusline-tp3390411p3390411.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
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://w