On 4/26/06, Aaron Griffin <[EMAIL PROTECTED]> wrote: > On 4/26/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote: > > That is, the input sequence "dac" would delete a comment. Entering > > something else would just be fed to Vim as always. > > Couldn't you use :omap for something like that?
(I hope it's OK that I added vim-dev to Cc. I assume you made the same mistake I always do of pressing 'r' in Gmail without thinking :-) No. Although given a way to tell what command is waiting for a motion or a way to tell that command what range we want to operate over (sort of 'operatorfunc'/g@ but in reverse) it could be made to work. Having a way of defining your own text objects (through functions) would also be a good solution. nikolai
