Defining and Editing Shortcuts in Mathematica
Posted on 2008-10-01
I always wanted to edit my own keyboard shortcuts in Mathematica to do such repetitive tasks as inserting page breaks, selecting the current cell you're working in, applying styles (such as DisplayFormula that doesn't have an alt-# shortcut), etc. I stumbled upon two interesting files in C:\Program Files\Wolfram Research\Mathematica\6.0\SystemFiles\FrontEnd\TextResources\Windows called KeyEventTranslation.tr and MenuSetup.tr. These files contain a large number (if not all) of where the shortcuts are coded into the program. However, I don't know how to edit these properly! Any slightest change will cause Mathematica not to load properly. How would I go about:
(1) Defining a shortcut to select right away the cell that I am working in?
(2) Adding a page break shortcut?
(3) Editing style formatting shortcuts?