MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Hotkeys - redefine

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77486] Re: [mg77453] Re: Hotkeys - redefine
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 10 Jun 2007 07:19:36 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <f43do2$g0$1@smc.vnet.net> <200706090931.FAA17480@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

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]"]

Szabolcs wrote:
> benedek.kovacs.mr at gmail.com wrote:
>> Hi all!
>>
>> I am interested in hotkeys. My am pretty upsat that every different
>> editor uses different selection conventions and hotkeys, etc.
>>
>> Anyway, I would like to redefine the hotkeys and define some for a
>> couple of new actions. I wonder if I can do it. An example: how do you
>> jump form the cell "frame" (thing on the rightmost side) to inside the
>> cell and back?
>>
>> Thank you,
>> Bence
> 
> Hi Bence,
> 
> Take a look at the file
> Mathematica\[version_number]\SystemFiles\FrontEnd\TextResources\Windows\KeyEventTranslations.tr
> 
> (The path may be a bit different for other operating systems.)
> 
> I am mostly happy with the editor shortcuts, I just use this to remap 
> CTRL-[ to \[LeftDoubleBracket] etc.
> 
> AFAIK the format of this file is not documented (but pretty 
> self-explanatory), so be careful, and back it up before you make any 
> modifications. If you keep the backup in the same directory, make sure 
> that its extension is NOT .tr, otherwise your modifications may not take 
> effect.
> 
> You may also want to read
> http://support.wolfram.com/mathematica/interface/customize/assignkeys.html
> 
> Szabolcs
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: 3D interpolation
  • Next by Date: Re: Re: Re: v6: still no multiple undo?
  • Previous by thread: Re: Hotkeys - redefine
  • Next by thread: Re: Hotkeys - redefine