Tuesday, July 5, 2022

Re: displaying line count of highlighted lines


Hmmmm... Maybe that is what the other one has. Let me see if I can see if the vimrc has anything there. Thanks.

On Tuesday, July 5, 2022 at 5:46:42 AM UTC-4 BPJ wrote:


Den mån 4 juli 2022 18:17jose isaias cabrera <jic...@gmail.com> skrev:

Hi.
I just installed a term-only Ubuntu server with vim, and I would like to show the highlighted lines count like my gvim one does in another system. For example, when I highlight 12 lines on the gvim instance in another server, at the bottom of the gvim screen I get,

-- VISUAL --                                                                       12                                1251, 16              37%

but, when I do the same on the ssh'ed xterm, I get,

".vimrc" 93L, 2275C                                                                         1,1           Top

I know is problem some type of setting on the .vimrc, and perhaps someone can help with this. Any help would be greatly appreciated. Thanks.

I don't know how you show it in the status line but g<C-g> will show it in a message. I guess you could write a function to capture the message, parse it with a regex and display it in the status line whenever you make a selection, but there probably is an easier way.



josé

--
--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/c3745799-08c6-461a-ac96-8b3cb1f539d1n%40googlegroups.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

---
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/d0a32397-9f3b-4372-b93a-763fd2982201n%40googlegroups.com.

No comments: