I believe you can just do a gwap to leave the cursor in
the same position.

Thanks! Every day I learn something new.

A pretty amazing day when Tony & Tim both learn the same "something new" about Vim that's easy, useful, and has been supported (mostly, save for a few bugfixes in later revisions) all the way back to v6.2. So much good stuff; so much to learn!

I'm not sure how I've not noticed the "gw" command before now, but it's definitely a keeper!

Thanks to those who pointed it out.

-tim





Reply via email to