<div dir="ltr"><div><br></div>Ah, ok, it makes sense. Thank you very much, now I know where to change it.<br><br>Cheers.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 February 2014 18:20, Frank Fischer <span dir="ltr">&lt;<a href="mailto:frank-fischer@shadow-soft.de" target="_blank">frank-fischer@shadow-soft.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 17.02.2014 12:56, schrieb Alexandre Pereira:<br>
<div class="">&gt; I&#39;ve remaped my HJKL to JKL� both in normal and in motion states, but<br>
&gt; for some reason when I enter the buffer-menu the movement keys are<br>
&gt; rebound to HJKL, but ONLY in motion state, if I switch to normal state<br>
&gt; I get my JKL� back. This is even more odd since it has never happened<br>
&gt; before and I&#39;ve found no reason for this to happen. Furthermore, it<br>
&gt; only seems to rebind those four keys.<br>
&gt;<br>
&gt; Does anyone have any ideas of what might be causing this?<br>
<br>
</div>Usually mode specific keys have priority over motion-state keys because<br>
otherwise many useful keybindings would be overwritten by Evil keys.<br>
This problem arises particularly in buffers that use motion-state<br>
because the corresponding modes typically bind their commands to &quot;simple<br>
keys&quot;. However, the motion keys hjkl are quite useful for most Evil<br>
users, so as a compromise Evil ensures that these few keys have priority<br>
over the mode specific bindings.<br>
<br>
Evil uses the macro `evil-add-hjkl-bindings` in `evil-integration.el` to<br>
bind the motion keys so that they are not overwritten by buffer-menu<br>
keys. Unfortunately this macro always binds h,j,k and l, and there is<br>
currently no way to disable this behaviour or to change the keys to be<br>
bound (you could, of course, comment out the corresponding line in<br>
`evil-integration.el` or change the code of `evil-add-hjkl-bindings` in<br>
`evil.core.el`).<br>
<br>
Best regards,<br>
Frank<br>
<br>
<br>
_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
</blockquote></div><br></div>