Linked Questions

0
votes
0answers
182 views

How to modify the file “KeyEventTranslations.tr” to use Enter to evaluate the current cell? [duplicate]

I asked the following question before, but I do not think it has been fully answered. By default, we use Shift+Enter to evaluate the current cell, and use Enter to get a new line. Is there a way to ...
2
votes
1answer
102 views

Automated (lazy) method to make custom (key-input) shortcuts (not menu items) for letter-like symbols? [duplicate]

The Problem: I don't know about you, but every time I am trying to do analytical work in Mma, it is rather difficult/cumbersome for me to type the following, here specifically for ...
86
votes
6answers
84k views

How do I clear all user defined symbols?

Is there some way to do this other than going to Evaluation -> Quit kernel and firing a new one up?
33
votes
3answers
1k views

How do I add new menuitems to menus?

What are some complete examples of what one would include in a FrontEnd init.m that would make use of FrontEnd`AddMenuCommands ...
30
votes
2answers
2k views

Do you really want to quit the kernel? Yes!

When I have entered some bad code and hit shift+enter before thinking about the perils of finite RAM my computer obviously starts suffering. I have found two options that usually lets me recover ...
27
votes
2answers
1k views

What is the complete list of valid FrontEnd Packet types?

In response to my question How can I get the unchanged Box form of an arbitrary expression? John Fultz answered with a method using the hilariously named ...
26
votes
1answer
1k views

Customize keybindings without modifying files in the installation directory

I would like to know if I can modify key bindings without being able to modify the KeyEventTranslations.tr in the installation directory. So maybe putting another one in my home dir and linking ...
8
votes
3answers
3k views

Copy last/second last (etc.) input from history into current cell

I like to use terminals (e.g. gnome-terminal) where you can use the up key to copy the last command into the current input 'field'. For example, to repeat the last ...
8
votes
2answers
166 views

How can I customize my menus without reloading MenuSetup.tr?

I want to edit my menus and know I can do this via MenuSetup.tr but can I do this in real time? Can I do it temporarily? Moreover can I change whether the changes ...
17
votes
1answer
259 views

Can one effectively edit a Front End Resource that is already loaded?

A number of special definitions are loaded from .tr files on Front End initialization and are accessible via FrontEndResource. ...
5
votes
0answers
414 views

Why FrontEnd`KernelExecute doesn't work in KeyEventTranslations.tr?

Which commands can you put in KeyEventTranslations.tr ? There is an extensive list of FrontEndTokens, but what else can you use? Why something like this doesn't ...
2
votes
0answers
303 views

Specifying shortcut without modifying KeyEventTranslations.tr

Until recently, I followed the suggestions(e.g., https://stackoverflow.com/questions/7327411/is-there-a-way-around-using-and-for-part-in-mathematica) to introduce some new shortcuts. However, I moved ...
5
votes
0answers
139 views

What are all the possible menu edits?

Note: I've discovered the menus are more-or-less as customizable as one would like, although it is mildly annoying to do this. Simply write your own Menu ...
3
votes
1answer
131 views

Test whether the selection is a subexpression

I am writing a button that applies some transformation to the current selection, in a spirit similar to the question "Apply a function to the current selection in place". However, I would like to ...
0
votes
0answers
88 views

Fold/unfold all groups at given level via keyboard shortcut

The combination ctrl+' can be used to fold/unfold a selected group. Is there a way to fold/unfold all cells at a given nesting level, and possibly also to fold/...

15 30 50 per page