Skip to main content

Questions tagged [word-count]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

foldtext seems to be recalculated across all folds every time you move the cursor line

With manual folding. Using a system call to put a line/char/word/ count for the text within each fold: :set foldtext=system('wc',getline(v:foldstart+1,v:foldend)) the command works (if you ignore for ...
markling's user avatar
  • 389
1 vote
1 answer
28 views

Count words in range excluding fold titles

Manual folding has just come as a revelation to me while trying to edit a large text file. The folds define helpful meta-titles for sections of the text. I need a precise word count, but it cannot ...
markling's user avatar
  • 389