Nikolai Weibull wrote:

> On 4/27/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> > > One could map 'd' to map 'ac' once pressed, but it would be hard to
> > > make sure that 'ac' was unbound if the user cancelled the command in
> > > any way.
> >
> > Can't you do this with ":omap"?
> 
> Considering that something bound by :omap should perform a motion, how
> would you create a motion that needs to describe a region that begins
> before the cursor and ends after it, like other text objects do?

I don't think you can change where the operated text starts from an
:omap.  At least not outside of Visual mode.

-- 
Q: What do you call a fish without an eye?
A: fsh!
Q: What do you call a deer with no eyes?
A: no eye deer.
Q: What do you call a deer with no eyes and no legs?
A: still no eye deer.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to