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) the status line should be updated
automatically. The solutions that occurred to me involve using external
commands (like wc -l) and then sending that to vim, each time I move the
selection etc. Does anyone knows a clean way of doing such a thing?
Thanks!
--
View this message in context: http://vim.1045645.n5.nabble.com/Vim-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://www.vim.org/maillist.php
No comments:
Post a Comment