Hi,

> Now this approach feels pretty dirty, because i think it's not intended by 
> the developers to change the evil state maps this way. 
> ----------------------------------------------------------------------
Why do you fill this is dirty. If the function works it was certainly designed 
for this purpose. I am writing with evil using a bépo layout, and I did not 
create any minor mode, just rebinded the keys the way you do it and everything 
works fine… Of course you can make a minor mode, but it doesn't make sense to 
me if you are always using your Neo layout… I prefer the Keep It Simple, Stupid 
way: the less lines of code, the better…

Damien Thiriet


> Hi all,
> 
> I'm using the NEO keyboard layout, and i want to integrate it somehow with 
> Evil. One case is to change the state bindings of the key 'r', because 'r' is 
> assigned to 'k' on qwert(z|y). Currently i'm doing this by editing the global 
> evil state maps directly:
> 
> (define-key evil-normal-state-map "r" nil)
> (define-key evil-motion-state-map "r" 'evil-previous-line)
> 




Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

_______________________________________________
implementations-list mailing list
[email protected]
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

Reply via email to