Show search count in vim
By chimo on (updated on )To show “search count” message in the status bar when searching (ex: “[13/37]”):
set shortmess-=S
Or to perform a count on-demand:
:%s/some-word//gn
Credits to stackoverflow.
To show “search count” message in the status bar when searching (ex: “[13/37]”):
set shortmess-=S
Or to perform a count on-demand:
:%s/some-word//gn
Credits to stackoverflow.