[clug] vim settings

David Tulloh david at tulloh.id.au
Tue Sep 4 12:54:41 GMT 2007


Michael James wrote:
> What sets the characters allowed in a "word"
>  when you use the  "cw"  command?
>
> In the good old days it was strictly  "a-zA-Z0-9_"
> Now it seems to have unilatterally allowed  ".-"   !
>
> Short of setting vi compatible mode,
>  how do I abate this nusance?
>   
Using an uppercase W and B instead of the lowercase does what you 
desire.  So cW will replace something like an IP address for you.

I'm not sure how to change the functionality, I like the way it works.


David


More information about the linux mailing list