On Thursday, June 14, 2012 4:24:56 AM UTC+12, Nick Shyrokovskiy wrote:
Please don't top post, it's against this list's etiquette (as well as being a 
bad thing IMO, of course).

> And w and \< are implemented as documented, so 'word' in 'w' and
> 'word' \< are different and it is confusing.

I've always thought this, I was confused when I first used vi, getting on for 
three decades ago.  Once learned, though, it's quite practical, I think.

You could do a regex that defined the movement you want, and then use a mapping 
to invoke it.

Also, vim's text objects might be a useful approach.  See :help text-object.

Regards, John Little

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui