<div><br></div><div>> The immediate solution is therefore to add a binding for <backspace> 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 <<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>> wrote:</div><div>On 2011-08-11 21:04 +0200, York Zhao wrote:</div>
<div><br></div><div>> I have this code to inherite most of the ibuffer key bindings while</div><div>> still keep the "j" and "k" bindings. ... This works fine however if</div><div>> I rebind the <backspace> before the previous code like this:</div>
<div>></div><div>> (define-key evil-normal-state-map (kbd "<backspace>") 'scroll-down)</div><div>></div><div>> The <backspace> key would then "fixed" to my binding (scroll-down)</div>
<div>> instead of the ibuffer binding.</div><div><br></div><div>This is because the key binding for (kbd "<backspace>") prevents the</div><div><backspace> 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 <backspace> instead:</div><div><br></div><div> (evil-define-key 'normal</div><div> ibuffer-mode-map (kbd "<backspace>") 'ibuffer-unmark-backward)</div>
<div><br></div><div>However, there is a problem: <backspace> bindings aren't recognized</div><div>at all when running Emacs in the terminal, where Backspace /is/ DEL.</div><div>So Evil should always bind (kbd "DEL") instead of (kbd "<backspace>").</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>