For interacting with the Mathematica front-end using the keyboard: shortcut keys, KeyEvents, keyboard navigation, etc.

learn more… | top users | synonyms

2
votes
0answers
63 views

Front End does not respond to keys (version 10.2, Linux)

I was often complaining about the front end performance under Linux, but it seems I could pin down a very critical issue. I made a screen-cast that shows how to reproduce the issue Screen-cast on ...
8
votes
1answer
137 views

Version 10.2, key shortcuts for matching brackets do not work?

Bug introduced in 10.2 System: Linux Once updated to 10.2, my Alt+} and Alt+) do not return a pair of brackets but a single right one, as if Alt is not pressed. Alt+] still works.
2
votes
1answer
84 views

Some symbol does not auto-complete in v10.2

When I input Backsub in Mathematica 10.2 and press Ctrl+K after, I couldn't get Backsubstitution. My OS is Windows 8 32-bit. ...
2
votes
0answers
45 views

Is there a keyboard shortcut that reproduces the code two input cells above the current cursor location?

In Mathematica running on OS X, Cmnd+L is one of my favorite keyboard shortcuts, as it reproduces the code in the input cell above cursor location into the current cell or into a new cell when the ...
2
votes
1answer
44 views

How to access the string of the cell I am typing?

I'm trying to map a keyboard shortcut to google search the contents of the cell I am typing. Here is my code so far: ...
2
votes
1answer
32 views

Ctrl+= does not open a box

In the guide/WolframAlphaIntegration documentation it says that = : use free-form linguistics to generate Wolfram Language output ==: generate full Wolfram|Alpha ...
1
vote
1answer
58 views

AltGr randomly stops working - Windows 7

My problem is that AltGr just randomly and frequently stops working. I've only seen this problem since the last update (10.1). The only sure way to recover functionality that I've found was to change ...
1
vote
1answer
34 views

CellEventActions not working within DynamicModule

So here is some code that successfully displays a slider, the value of a dynamic variable, and cycles through a list of 10 images titled 'imgs' with keyboard commands. ...
2
votes
1answer
56 views

Tab in Input cell

Why is it impossible to use tab to indent e.g. an inline comment i.e. (* ... *) in an Input cell? However, I have seen that it is possible, if I use Cell>ConvertTo>TextDisplay. The cell remains ...
1
vote
0answers
56 views

Alt drag does not work properly

When a graphics is displayed, right clicking will bring up the Get Coordinates tool. To select a rectangular region, you can do it manually by selecting the two corners and Alt+C will copy these two ...
3
votes
2answers
138 views

Integrate using \[Esc] int \[Esc]

I like writing integrals symbolically instead of using Integrate[]. I suddenly seem to not be able to do this and am confused. I type \[Esc] int \[Esc] then ...
0
votes
0answers
35 views

How to resolve the conflict of keyboard shortcuts and customize all shortcuts?

The keyboard shortcut ctrl+5 is set for "other script" in previous versions, while now I am using 10.0 and find that this shortcut is also set for "Parallel Kernel Status", and actually the later is ...
2
votes
1answer
121 views

Function equal to Ctrl+Shift+I [duplicate]

No, it's not InputForm. Consider this example: ...
4
votes
2answers
92 views

Can I modify Ctrl— to insert Indexed expressions?

For me, Indexed[x, n] is a much more useful and versatile construct than Subscript[x, n]. I would therefore like to modify ...
6
votes
1answer
88 views

using keyboard shortcuts with non-US keyboard

There are several keyboard shortcuts that do not seem to work for me. I am using a German keyboard. I think this only happens when I have to use a modifier key that does not have to be used in case of ...
5
votes
1answer
123 views

How to move a cell up or down with a keystroke?

It is very useful during refactoring to move lines around. All popular IDEs or text editors have this feature (PyCharm, Vim, Sublime, etc..) for example in Xcode you press: ⌥⌘[ or ⌥⌘] to move lines up ...
2
votes
1answer
66 views

fields entry in ref/StreamPlot

In the ref/StreamPlot help file in Mathematica 10.0.2, we see the following image: Can someone explain how I would type this into an input cell?
4
votes
2answers
137 views

Headings, subheadings, text cells etc and Alt+n

This is a minor point but annoying. I have just upgraded to version 10.0.2.0 and discovered that you must select a bracket before doing Alt+1, or Alt +7 to make a cell a heading or text cell. This was ...
13
votes
1answer
252 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 ...
1
vote
1answer
125 views

Unintended effect of closing square bracket on Spanish keyboard in Mathematica online

I have only just started using Mathematica Online and I have encountered a problem already with the ubiquitous closing square bracket ] using a Spanish key board. I ...
1
vote
1answer
126 views

Keyboard shortcut for changing style of selected text (NOT the whole cell)

For many years I have been using Alt+Shift+(number) to quickly change the style of text in a text cell. For example when I write descriptive text and want some of that text to look like input form, ...
3
votes
1answer
56 views

How can I show the inline parameter list with a keybinding while typing a function?

Is there a way to invoke either of these contextual menu buttons that popup when typing? I don't really like to move my hand over to the mouse just to see in what order the parameters are supposed ...
0
votes
0answers
35 views

Resizing text with keyboard shortcuts in Mathematica 10

In Mathematica 10, it seems that the Alt+= and Alt+- shortcuts affect the entire cell instead of only the selected text. In the following example, I highlighted "line 2" and pressed Alt+= several ...
0
votes
2answers
120 views

Keyboard Shortcut several Keys

I would like to set up a system (or define a keyboard shortcut) so when you type the following sum I have the following print at the current selection. ...
5
votes
0answers
116 views

Simple Choice-Dialog like the auto-completion popup

What I want is pretty simple, nevertheless, after half an hour I have only unsatisfying solutions here. Let me ask you who might work more often with Mathematica's GUI elements: Is there a way to ...
3
votes
1answer
59 views

How can I find out where a key binding is coming from?

Related: Automating Esc [[ Esc formatting? In previous versions of Mathematica, I could add these lines to my KeyTranslations.tr file, to map Ctrl+[ to [[: ...
7
votes
1answer
362 views

On a Mac OS X, Ctrl-Backspace generates ascii code 8 (backspace), which is almost invisible but very annoying

When I press Ctrl-Backspace, Mathematica inserts what looks either like a tiny white space or sometimes is invisible. Actually, though, it is an ascii character code 8, also enterable in Mathematica ...
3
votes
1answer
62 views

Apply a function to the current selection in place

Say a have the function foo: foo[x_] := x + 2 Like the Evalution ...
2
votes
1answer
185 views

Wrapping at evaluation for inline cell

I've been playing with inline evaluation and I've came to the conclusion that it's most convenient to put the Dynamic@ inside the inline cell, so I've started to ...
1
vote
1answer
361 views

Why is evaluation Enter for Mac and shift+Enter for Windows? [closed]

Per the title, why is evaluation done using just the Enter key for Macintosh and shift+Enter for Windows? UPDATE Okay, I see the Mac keyboard's "Enter" key is actually labeled "Return", so by Enter ...
6
votes
0answers
151 views

Automatic replacing of [ with []

I tried to modify the KeyEventTranslations.tr file in order to always place a closed bracket instead of an open bracket once I press ...
3
votes
1answer
143 views

Is it possible to get AltGr key to work in Math.exe?

For some reason when you run Math.exe form windows command line, Mathematica disables the AltGr key. This is a bit annoying since my keyboard locale has the keys [, ], {, }, @, $, \, | located under ...
6
votes
1answer
129 views

How to handle keyboard events for unselected item in CDF?

How can I force the keyboard input to work for this cell without clicking on it after I evaluate or showing a blinking selection cursor? This is for running CDF games in a browser. ...
4
votes
2answers
170 views

Capturing an F1

I teach an Intro to Mathematica course, and one of the things I try to reinforce early on is just how helpful Mathematica's help is. In the very first lab for the course, I even give the students a ...
10
votes
2answers
406 views

Get tab key to indent a block of code

Is there some way I can change Mathematica keyboard behavior so I could select a block of text/code, press tab, and the selection would be indented to right? Similarly, I would like shift+tab to ...
8
votes
0answers
362 views

Keyboard issues with Mathematica 9.0.1 for Linux [closed]

After working for a while with Manipulate function and increasing the number of variables to be manipulated, keyboard stops working properly in the Notebook. It ...
9
votes
2answers
444 views

Front end typing lag

Under Windows 7 I frequently get serious keyboard lag. My home machine (Windows XP) NEVER lags. I was able to improve things somewhat by running Mathematica as Administrator, but this only went so ...
8
votes
0answers
118 views

Esc-esc for special characters and autocomplete in Mathematica 9 [duplicate]

I recently upgraded to Mathematica 9 and have noticed a slightly annoying behavior that I was looking to remedy. In the past I would type special characters, e.g. ...
6
votes
1answer
152 views

There is a button in the “basic math assistant” which wraps highlighted text in chosen brackets. Is there no keyboard command for this?

This counts as something of a basic question, but one for which I cannot find an answer. I checked the documentation, I checked google, I searched it here, I read a bunch of different things, but ...
9
votes
4answers
886 views

Preventing Superscript from being interpreted as Power when using Ctrl+^ shortcut?

I have very strong desire to use superscript as the index of the variable. However, it looks like that the Mathematica automatically recognize the superscript as the power and I got message that my ...
2
votes
2answers
241 views

Make fraction with selection in denominator

Using ctrl/ you can make a fraction. If you have selected something it will appear in the numerator. Does there exist a shortcut to make the selected text appear in the denominator instead? If not, ...
15
votes
2answers
649 views

How to write plain Greek in a text cell

If I create a text cell and type some greek text, most of the symbols are italics as if the cell had an Input style. It doesn't happen with latin characters. I recollect that it is impossible to fix ...
6
votes
2answers
213 views

Evaluating selected expression using keyboard shortcut

Imagine that in this toy code I want to evaluate just the selected (blue) expression: To get as output result: {09/14,09/15,09/16,09/17,09/18,09/19,09/20} There is some shortcut to do this? I'm ...
25
votes
1answer
958 views

Cheat sheets or reference cards for Mathematica

In order to improve my workflow with Mathematica, I'm looking for cheat sheets. The purpose of such reference cards is to be printed and to stay on the desk during the learning of a new programming ...
1
vote
0answers
97 views

Insert a Quantity Unit literal in TraditionalForm

Is there a keyboard shortcut for creating something like the result of this: Quantity["Kilograms" * ("Meters")^2 / ("Seconds")^2] After copying the result to a ...
3
votes
1answer
189 views

Key Mapping in Command Line Mode

I would like to map Ctrl-U to "kill line" when using Mathematica 9.0 in command line mode (i.e. not within the front end, but when called from a Unix command line by "math"). I am aware that (on a ...
1
vote
2answers
314 views

Add keyboard shortcut to the DisplayFormula style

Is there a way to set up key bindings for the DisplayFormula and DisplayFormulaNumberedstyles? I am using Mathematica 9 on mac ...
0
votes
0answers
31 views

“Go back” and “Go forward” in help? [duplicate]

This is a duplicate question with Gestures for forward/backward in help browser (particularly on a Mac). Please close this question. In IE, we can "go back" by Alt+←, and "go forward" by Alt+→. This ...
0
votes
2answers
3k views

KeyPress function in Java's Robot class, how to state parameter?

I am trying to use Java's Robot class to type. This is what I have done so far. Needs["JLink`"]; InstallJava[]; robot = JavaNew["java.awt.Robot"] The mouseMove ...
5
votes
1answer
268 views

How to make the Menu key on my keyboard work in Mathematica

My Menu key works in Windows Explorer, Internet Explorer, many apps, but does not work in Mathematica's notebook. The function is like that of Right-Click with the mouse. Function expected: Select ...