Monday, July 25, 2011

Re: Installing a word count plugin -- or recommendations of other plugins

Reply to message «Re: Installing a word count plugin -- or recommendations of
other plugins»,
sent 17:57:37 25 July 2011, Monday
by Albie Janse van Rensburg:

It also makes sense to use :%sm/... or :%s/\v<.{-}>//gn: both make you
independent of 'magic' setting.

Original message:
> On Jul 25, 2011, at 9:18 AM, Albie Janse van Rensburg wrote:
> >> :%s/\<.\{-}\>//gn | set nohlsearch
>
> Correction, it should be
>
> :%s/\<.\{-}\>//gn | nohlsearch
>
> the "set" makes your hlsearch setting permanent.

No comments: