Wednesday, December 28, 2022

Re: word count

Igor Lerinc said on Wed, 28 Dec 2022 08:26:01 -0800 (PST)

>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

6w in display mode jumps you 6 words ahead.


SteveT

Steve Litt
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm

--
--
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/20221228115601.00354fed%40mydesk.domain.cxm.

No comments: