Re: Hotkeys - redefine
- To: mathgroup at smc.vnet.net
- Subject: [mg77505] Re: Hotkeys - redefine
- From: Szabolcs <szhorvat at gmail.com>
- Date: Mon, 11 Jun 2007 04:20:12 -0400 (EDT)
- Organization: University of Bergen
- References: <f43do2$g0$1@smc.vnet.net> <200706090931.FAA17480@smc.vnet.net> <f4gn0f$hqj$1@smc.vnet.net>
Murray Eisenberg wrote:
> What, exactly, does one enter in KeyEventTranslations.tr? I've tried
> each of the following (I think), but each gives an error:
>
> Item[KeyEvent["[", Modifiers -> {Control}], LeftDoubleBracket]
> Item[KeyEvent["[", Modifiers -> {Control}], "LeftDoubleBracket"]
> Item[KeyEvent["[", Modifiers -> {Control}], "\[LeftDoubleBracket]"]
>
Find the line
EventTranslations[{
and enter the following right after it:
Item[KeyEvent["[", Modifiers -> {Control}],
FrontEndExecute[{FrontEnd`NotebookWrite[FrontEnd`SelectedNotebook[],
"\[LeftDoubleBracket]", After]}]],
Item[KeyEvent["]", Modifiers -> {Control}],
FrontEndExecute[{FrontEnd`NotebookWrite[FrontEnd`SelectedNotebook[],
"\[RightDoubleBracket]", After]}]],
Make sure that you do not create any other files with the extension .tr
in that directory, otherwise this may not work (I made this mistake when
I backed up the file).
Szabolcs
- Follow-Ups:
- Re: Re: Hotkeys - redefine
- From: "Szabolcs Horvát" <szhorvat@gmail.com>
- Re: Re: Hotkeys - redefine
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Re: Hotkeys - redefine
- References:
- Re: Hotkeys - redefine
- From: Szabolcs <szhorvat@gmail.com>
- Re: Hotkeys - redefine