Is there a command to display a count of the number of lines you have selected in Visual Mode in VIM?
Asked
Active
Viewed 1,629 times
3
1 Answers
9
g then Ctrlg will spit out something like this:
Selected 10 of 4123 Lines; 67 of 11111 Words; 400 of 40000 Bytes
goldilocks
- 801
- 6
- 23
:set showcmdVim will also display the number of lines visually selected. – Christian Brabandt Oct 19 '15 at 17:06:set showcmdto your .vimrc. Should be automatically on ifnocompatibleis set. http://vimhelp.appspot.com/options.txt.html#%27showcmd%27 – Will Oct 21 '15 at 15:41