<div dir="ltr"><div style>I have my Racket configured per the &quot;emacs&quot;  section in DrRacket, so keybindings in menus is unchecked.</div><div style><br></div><div style><span style="color:rgb(0,0,0);font-family:serif;font-size:medium">&quot;If you are most familiar with Emacs-style key bindings (especially on windows or some linux installations where the control key is, by default, for the menu shortcuts), you should uncheck the </span><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;font-weight:bold">Enable keybindings in menus</span><span style="color:rgb(0,0,0);font-family:serif;font-size:medium"> preference.&quot;</span><br>
</div><div><br></div><div>If I define and register my own keybindings.rkt file, bindings and rebinds work but they appear to wipe out any existing keybindings.<br></div><div><div style><br></div><div style>Examples below based on the Racket Doc on keybindings.</div>
<div style><br></div><div>;; OK </div><div>;;insert λ</div><div>(keybinding &quot;c:\\&quot; (λ (editor evt) </div><div>                     (send editor insert &quot;λ&quot;)))</div></div><div><br></div><div><div>(define (rebind key command)</div>
<div>  (keybinding</div><div>   key</div><div>   (λ (ed evt)</div><div>     (send (send ed get-keymap) call-function</div><div>           command ed evt #t))))</div><div><br></div><div style>;;OK</div><div>(rebind &quot;c:w&quot; &quot;backward-kill-word&quot;)</div>
</div><div><br></div><div style>;; OK</div><div><div>(keybinding &quot;c:c;c:t&quot; (λ (editor evt) (send (send editor get-top-level-window) create-new-tab)))</div></div><div><br></div><div><div>;; Now Broken</div><div>&quot;c:c;c:c&quot; ;; check syntax is broken.</div>
</div><div><br></div><div><br></div><div>Similarly, if I attempt to bind anything into &quot;c:x;?:?&quot; things break, though the freshly added binding works.</div><div><br></div><div style>;; works</div><div style>(keybinding &quot;c:x;c:t&quot; (λ (editor evt) (send (send editor get-top-level-window) create-new-tab)))</div>
<div style><br></div><div style>;; Now BROKEN</div><div style>&quot;c:x;c:f&quot; ;; the open file dialog</div><div style><br></div><div style>;; Now BROKEN</div><div style>&quot;c:x;c:s&quot; ;; save definitions (file)</div>
<div style><br></div><div style>Roughly, it appears in lieu of extending the keymap with a new (re)binding, the new binding is added into a fresh keymap and the existing default keymap is shadowed, flushed, or ignored.  They still show up on the menu listing &quot;Show Active Keybindings&quot; just no workee any more.</div>
<div style><br></div><div style><br></div></div>