Evil experiences

Michael Markert markert.michael at googlemail.com
Sun Sep 11 08:31:40 CEST 2011


On  9 Sep 2011, York Zhao wrote:
>>
>> Note that with binding `,' you loose the key to repeat find char in
>> the opposite direction.
>
> I have binded the "f" key to "ace-jump-in-line" (my own function but
> is easy enough to implement) and I found myself never use "," and ";"
> ever since making it a great candidate to rebind to other cool
> stuff.

Well then no problem. I like `find-char' because it's (reliable)
repeatable and used `,' as a leader-key for long time myself and didn't
notice that it's easy repeatable backwards, too.

> The only problem I'm having with binding "f" to "ace-jump-in-line" is
> that "cf<char>" and "df<char> do not work if there are more than one
> <char> in that line after or before the point in which case I have to
> type an additional "move key". In this case I have to use "vf<char>"
> followed by "c" or "d". I don't even know if it is possible to solve
> this and I really hope that Evil can handle this.

You could try by defining it as a `evil-motion' (via
`evil-define-motion'), maybe alike `evil-find-char'.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20110911/d81e2ccc/attachment.pgp 


More information about the implementations-list mailing list