<div><br></div><div>&gt; The immediate solution is therefore to add a binding for &lt;backspace&gt; instead</div><div><br></div><div>That was exactly what I was doing before getting the commit 8fc3c40, but now I no long need this workaround, thanks a lot and thank you for telling me the difference between the two.</div>
<div><br></div><div><br></div><div>York</div><div><br></div><div><br></div><div>On Fri, Aug 12, 2011 at 10:07 AM, Vegard Øye &lt;<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>&gt; wrote:</div><div>On 2011-08-11 21:04 +0200, York Zhao wrote:</div>
<div><br></div><div>&gt; I have this code to inherite most of the ibuffer key bindings while</div><div>&gt; still keep the &quot;j&quot; and &quot;k&quot; bindings. ... This works fine however if</div><div>&gt; I rebind the &lt;backspace&gt; before the previous code like this:</div>
<div>&gt;</div><div>&gt; (define-key evil-normal-state-map (kbd &quot;&lt;backspace&gt;&quot;) &#39;scroll-down)</div><div>&gt;</div><div>&gt; The &lt;backspace&gt; key would then &quot;fixed&quot; to my binding (scroll-down)</div>
<div>&gt; instead of the ibuffer binding.</div><div><br></div><div>This is because the key binding for (kbd &quot;&lt;backspace&gt;&quot;) prevents the</div><div>&lt;backspace&gt; event from being translated into the ASCII character DEL</div>
<div>(that is, ?\d), which is what ibuffer binds. The immediate solution</div><div>is therefore to add a binding for &lt;backspace&gt; instead:</div><div><br></div><div>   (evil-define-key &#39;normal</div><div>     ibuffer-mode-map (kbd &quot;&lt;backspace&gt;&quot;) &#39;ibuffer-unmark-backward)</div>
<div><br></div><div>However, there is a problem: &lt;backspace&gt; bindings aren&#39;t recognized</div><div>at all when running Emacs in the terminal, where Backspace /is/ DEL.</div><div>So Evil should always bind (kbd &quot;DEL&quot;) instead of (kbd &quot;&lt;backspace&gt;&quot;).</div>
<div>This has been fixed in commit 8fc3c40.</div><div><br></div><div>--</div><div>Vegard</div><div><br></div><div>_______________________________________________</div><div>implementations-list mailing list</div><div><a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a></div>
<div><a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a></div><div><br></div>