<div class="gmail_quote">Hi Johan,</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Sun, Nov 13, 2011 at 08:00, Johan Holmquist <span dir="ltr">&lt;<a href="mailto:holmisen@gmail.com">holmisen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>Only thing I am really missing is GUI support for defining my own keybindings (I never had much luck with defining my own keybindings). Now I haven&#39;t hacked any racket for a while, so things may have improved in this respect without my knowledge.</div>


<div></div></blockquote></div><br><div>What DrRacket offers in terms of custom keybinding definitions is much more powerful than what could be done in a simple GUI dialog that other programs may have.</div><div><br></div>

<div><br></div><div>You can write Racket code to provide new keybindings, see some examples here:</div><div><a href="http://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html#(part._defining-shortcuts)">http://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html#(part._defining-shortcuts)</a></div>

<div><br></div><div>In essence, you create a new file to define your keybinding definitions (and therefore you can reuse it in ever computer you happen to use -- home, work, university, desktop, laptop, etc...) and then you click on the menu Edit &gt; Keybindings &gt; Add User-defined Keybindings...</div>

<div>Restart DrRacket, and you&#39;re done.</div><div><br></div><div>Note that your keybindings can do pretty much anything. You could use them to automate your tasks in many different ways.</div><div>Image you could have a key combination to go on the Internet and get the weather forecast for the next few days and display it in a dialog for you.</div>

<div><br></div><div>[]&#39;s</div><div><br></div><div>Rodolfo Carvalho</div>