Evil experiences

York Zhao gtdplatform at gmail.com
Tue Sep 13 22:36:31 CEST 2011


>> The only solution I can think of is to enter a recursive editing level
>> when invoking the first command, and to exit the level after the last:
>>
>>    (defadvice ace-jump-mode (after evil activate)
>>      (recursive-edit))
>>
>>    (defadvice ace-jump-done (after evil activate)
>>      (exit-recursive-edit))
>>
>> That way, they appear as a single command to Evil.
>
> Works beautifully, thanks a lot.
>
> I did a little change where I adviced `ace-jump-do' rather than `ace-jump-mode'
> so that all the jump functions are working with "c" and "d" opreators now.

I just noticed that this doesn't work if there is only character and ace-jump
made a direct move without asking for further input.

York



More information about the implementations-list mailing list