Wednesday, December 28, 2022

Re: word count

On 12/28/22 08:26, Igor Lerinc wrote:
>we have relative numbering for lines, so we don't have to calculate when we
>want to jump between lines.
>
>But is something similar possible for words?
>For current line to show, what number of word it is? Depending on where
>cursor is?
>
>Because i don't feel like calculating how much words there is between
>cursor and word where i want to jump to. And it would be faster and
>efficient, 'to just know' how much words to jump in current line to get to
>some word

Don't you know there are vim-easymotion, vim-sneak, and many other
plugins for quick navigation? If you want pluginless, I don't come up
with an easy way to do so in a script with only a few lines.

--
--
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/20221228174235.f4dig3wmucqxo65q%40zoho.com.

No comments: