Re: [racket] Need Help With Keybindings

2011-09-27 Thread Robby Findler
I've just added this to the docs. Hope it is helpful. Robby Another example, this file rebinds ``control-w'' to delete the word behind the insertion point, but it does it by setting a new key to be an existing keyboard shortcut. If you see a key in the @onscreen{Show Active Keybindings} dialog (i

Re: [racket] Need Help With Keybindings

2011-09-26 Thread Robby Findler
Two built-in keys that do that are esc;backspace (and possibly alt-backspace, depending on your platform), and control-shift-left, which selects a word backwards (which you can then delete or cut or select another one or whatever). Robby On Sun, Sep 25, 2011 at 10:59 PM, David G. Kay wrote: > >

Re: [racket] Need Help With Keybindings

2011-09-25 Thread David G. Kay
The most important thing I need at this point is a way to bind ^W to something like delete-word-backwards. Most of the other things I really wanted I could do with the 'move' command, but I can't find something like delete- word-backwards at http://docs.racket-lang.org/gui/text_.html I see the

Re: [racket] Need Help With Keybindings

2011-09-11 Thread David G. Kay
Thank you; that's great. I'm most of the way there now. Still, I'm finding the text% documentation tough sledding; the tools seem lower-level than I need. Is there a keybinding file somewhere for emacs commands? I think changing the actual keystrokes in that file would be the easiest way for m

Re: [racket] Need Help With Keybindings

2011-09-10 Thread Matthew Flatt
At Sat, 10 Sep 2011 12:56:29 -0700, "David G. Kay" wrote: > Hi, everyone; > > I'd like to rebind some of the DrRacket > editor keys. (I'm trying to reproduce the > idiosyncratic editor layout I'm used to; > it has an emacs flavor but with different > keys.) > > To start, I just want to map ^t to

[racket] Need Help With Keybindings

2011-09-10 Thread David G. Kay
Hi, everyone; I'd like to rebind some of the DrRacket editor keys. (I'm trying to reproduce the idiosyncratic editor layout I'm used to; it has an emacs flavor but with different keys.) To start, I just want to map ^t to move up a line, ^v to move down, ^f to move left, and ^g to move right. I