Ciao Tim, > rather than saving your whitespace and then > restoring it, you can use > > :s/\<word1\>/new_word/g > > This respects the "word" boundaries in vim, as defined by the > 'iskeyword' setting.
Thanks for pointing this out, it's really useful! :) -- [ Andrea Spadaccini - a.k.a. Lupino - from Catania - ICQ #: 91528290 ] [ GPG ID: 5D41ABF0 - key on keyservers - Gentoo GNU / Linux - 2.6.16 ] [ Linux Registered User 313388 - @: a.spadaccini(at)catania.linux.it ]
