Questions tagged [keyboard]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
42 views

Is there an inverse operation to 'ExpandSelection' (as a keyboard shortcut)?

The keyboard shortcut associated to "ExpandSelection" (Ctrl+.) is really useful, but it is too easy to overshoot the desired selection. Is there an inverse operation to "ExpandSelection&...
0
votes
1answer
64 views

How can I define a shortcut key to clear all the variables defined so far?

In my computation I often use the command ClearAll["Global*"] to eliminate all the variables I have defined so far. But to input stroke by stroke is ...
2
votes
1answer
64 views

Can I remove/negate the "preferences" keyboard shortcut?

The keyboard shortcut cmd + , for opening the preferences panel is really a pain. I have never needed to use it, but when I have ...
7
votes
2answers
132 views

Can I stop the python interpreter appearing?

I am using version 12.1.1.0 on OS X 10.13. Every so often, a Python interpreter cell appears: I think I am probably summoning it by inadvertently pressing ">" (due to clumsy typing). Or ...
0
votes
0answers
19 views

What is the function of "PreviousFunctionTemplate" and "NextFunctionTemplate" defined in "KeyEventTranslations.tr"

In the system file "KeyEventTranslations.tr" are two undocumented frontend tokens "PreviousFunctionTemplate" and "NextFunctionTemplate" and I wonder what they do. ...
2
votes
2answers
64 views

Shortcut to execute previous statement again?

Often I'll have a block that runs something like a random test, and I'll want to run it maybe a couple dozen times by hand, tweaking as necessary. I'd like to be able to hit some key or shortcut to re-...
1
vote
0answers
48 views

Input subscripts in Wolfram Cloud

I would like to input "rendered" subscripts in Wolfram Cloud, without having to verbosely type Subscript[a, b]. The local notebook shortcut is ...
1
vote
1answer
47 views

Selecting parts of an expression via mouse clicks [closed]

Is there a very easy way to select (=highlight) FunC[FunD[FunE[x]]] in the following code? FunA[FunB[FunC[FunD[FunE[x]]]]]
2
votes
1answer
59 views

KeyEventTranslations.tr shortcut setting - work/not work

About editing KeyEventTranslations.tr Item[KeyEvent["q", Modifiers -> {Control}], "MoveNextWord"] : working ...
2
votes
0answers
76 views

Subscript keyboard shortcut not working on Mac OSX

The keyboard shortcut ctrl+_ for subscript does not work on Mac OSX (Swiss keyboard layout). If I use German layout, I can make subscript but no fraction. I've ...
2
votes
0answers
74 views

Matching [],{},() in Mac

In the Windows system, the keyboard shortcuts Matching [] Alt+] Matching {} Alt+} Matching () Alt+) works fine. This functionality does not seem to work with MacOS. Opt+] gives ' Opt+} gives " ...
2
votes
0answers
28 views

Opposite of "Extend Selection?"

I am trying to become more proficient with Mathematica shortcuts. To avoid using the mouse when folding a section, I am using Extend Selection CTRL+.. I press that ...
6
votes
1answer
226 views

How to enter underscripts in 12.2?

In the last version of Mathematica (12.2), some genius on Wolfram thought that is was a good idea to change the keyboard shortcut Ctrl+4, that have been there for years, so now users get a (broken) ...
0
votes
0answers
35 views

how do i stop the "=" symbol from creating "WolframAlphsShort" [duplicate]

how do I stop the "=" symbol from creating "WolframAlphsShort."
5
votes
1answer
121 views

What is keyboard shortcut combination for ResourceFunction?

I have seen in some notebooks that functions called with ResourceFunction["PairwiseScatterPlot"] appear with a red set of square brackets enclosing a red ...
3
votes
1answer
89 views

How to convert function to MenuSetup.tr form

I have a function that removes any surrounding [] {} or () from the current selection of the notebook given by NotebookObject[]. ...
3
votes
1answer
65 views

Deleting a notebook cell using only the keyboard

I am working on a laptop (thus I don't have the numeric pad). To erase a cell in Mathematica I always have to look on the right of the notebook window to find the bracket associated to the line, and ...
1
vote
1answer
88 views

Pressing the "enter" key in the Python External Evaluation cell becomes "run" instead of "line break"

I have met problem in the use of style sheet. In using the External Evaluation of Python in Mathematica, If we choose the style sheet as "Default", pressing the "Enter" will cause ...
4
votes
1answer
294 views

Switch bool from False to True on key press?

I would like to let a boolean variable switch when I press a key on the keyboard. For example, I write ...
1
vote
1answer
116 views

Shortcut for Selecting Current Cell

Is there any shortcut or keyboard hot-key which selects the current cell? I am basically looking for the exact effect as clicking on cell bracket but achieved using keyboard instead of mouse. I ...
0
votes
0answers
285 views

Create keyboard shortcut to quit the kernel

I would like to reset all my user-defined symbols using a keyboard shortcut. I believe the mouse-activated command is Evaluation->Quit Kernel. How can I do this without having to use the mouse?
8
votes
2answers
346 views

Change default cell type of Wolfram|Alpha Notebook Edition to Input

Now that Wolfram|Alpha Notebook Edition, which is in essential Mathematica with a special front end: is free for 6 months, I'm playing with it. Default cell type of Wolfram|Alpha Notebook Edition is ...
0
votes
1answer
399 views

Superscript on mac hotkey not working

I cannot input superscript with the keyboard shortcut ctrl-6. I am on mac osX 10.14.5. The menu button in insert>typesetting>superscript works and says the shortcut is ctrl-6. One site said use ctrl-...
1
vote
0answers
47 views

Why the typing lag after interaction with a 3D plot? [closed]

[Mathematica 12.1 on Windows 10 64-bit. My Antialiasing Quality is set to No Antialiasing] Edit: the behaviour is actually more ...
0
votes
1answer
28 views

What is the general behavior of the "enter" character, and why does the specific behavior differ in these four situations?

I am trying to understand the exact behavior of the "enter" character in Mathematica. (I am not even sure what to call it: perhaps it is really the carriage return or newline character, which is input ...
1
vote
0answers
29 views

Can "Extend Selection" aka ctrl+. be used in the workbench?

Extend Selection (Ctrl+.) is likely the most useful mathematica keyboard shortcut for me. Is it available in the Wolfram Workbench? Naively pressing Ctrl+. doesn't do anything and searching the ...
4
votes
0answers
62 views

How to control global key event handling for all front end sessions?

This website collects many methods for implementing user defined keyboard shortcuts through KeyEvent items in KeyEventTranslations.tr, see 16697, 16165, 23285, 2572, etc. Some of these were collected ...
2
votes
0answers
48 views

KeyEventTranslations.tr at user directory

I added some shortcut defintions to the system file KeyEventTranslations.tr and they work perfectly. However when I move the same definitions to a seperate file in ...
7
votes
2answers
252 views

shifted keyboard shortcuts not working after 12.1 upgrade

Ever since upgrading to Mathematica 12.1, the keyboard shortcuts that involve the shift key -- such as control-^ (control-shift-6) for a superscript, and control-@ (control-shift-2) for a square root -...
4
votes
2answers
240 views

How to run all cells above current one? [duplicate]

In Jupyter notebook, there is a Run All Above (a certain cell) option. Is there something like Run All Above in Mathematica?
0
votes
0answers
27 views

What is the name of the Page Down key when using EventHandler? [duplicate]

I want to trap the PageDown event in an EventHandler. The code I've written is working fine for, say, "RightArrowKeyDown". But for the life of me I can't find the label for the Page Down key. I've ...
4
votes
1answer
143 views

In search of lost time: Mathematica keyboard shortcuts

I am wondering about all the shortcuts that there are in Mma, besides the documented ones in https://reference.wolfram.com/language/tutorial/KeyboardShortcutListing.html. Are there any undocumented ...
2
votes
0answers
170 views

Shortcut Ctrl+Shift+d does not work anymore

M12.1, Win10: all of a sudden Ctrl + Shift + D does not work anymore to divide a cell: nothing happens, except a warning beep. Right-click Divide Cell works normally. MenuSetup.tr contains MenuItem["...
0
votes
0answers
31 views

How to make DownArrow key move to next line rather than next code suggestion?

I like to move quickly through my code using the arrow keys. This is frequently frustrated by Mathematica's suggestions of variables to use. Is there some solution for this? Solutions may include ...
0
votes
0answers
28 views

Unable to shortcut-abort with Italian keyboard

I have a very simple problem : I am unable to Abort using "Alt+." when my keyboard is set in Italian. I press the combination, but it does not abort, I receive a Windows sound, like the one when you ...
5
votes
0answers
49 views

Keyboard Shortcuts in paclets?

I’m trying to add simple keyboard shortcuts (together with menu item) to my paclet through FrontEndExecute which works fine in notebook, but as soon as I put it into my paclet and import it the menu ...
5
votes
1answer
67 views

Using the Control key to edit notebooks on wolframcloud

Using the notebooks on mathematica.wolframcloud.com in the browser is very convenient, but I can't figure how to type fractions, powers, etc using the "Control" key as the key seems to be captured by ...
1
vote
0answers
27 views

Ctrl + ^ shortcut not working correctly

As expect I'm getting a blank superscript input graphic, however, I'm also being directed to the beginning of the document
9
votes
1answer
297 views

How to open a Python interpreter input cell?

Something weird just happened to me: I mis-typed a keyboard shortcut, hitting the wrong keys, and a new notebook opened up with a Python prompt! Just for grins, I tried entering some simple Python ...
1
vote
0answers
134 views

Why Ctrl+ / doesn't work in my Mathematica?

I would like to type a fraction into my notebook using the Ctrl + / combination, but it doesn't work.
1
vote
1answer
87 views

Turn PasteButton into keyboard shortcut

I'm looking for a general "recipe" to do with a keyboard shortcut what I currently do with a PasteButton. Here is a working toy example ...
2
votes
1answer
168 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 ...
1
vote
0answers
66 views

Custom (emacs) key bindings for open/save in Mathematica 11

Is it possible to change the key bindings for Open and Save? This used to be possible in MenuSetup.tr, along the lines of this post. In Mathematica 9, there were explicit "Open" and "Save" (and "...
2
votes
1answer
223 views

Mac Touch Bar and Hidden Characters

I am reposting this question (Translate key events to nothing?) hoping to resolve an issue that is causing me no end of, bug chasing. Arggh, Help. On a Mac with a touchbar, if my finger slips and ...
12
votes
1answer
316 views

How to overwrite key shortcuts?

It is very handy to have shortcuts for frequently used glyphs, e.g. [[, ]], <|, ...
5
votes
1answer
151 views

All the group formatting available in Mathematica

I was wondering how many pre-defined group formatting style there is in Mathematica. From Format -> Style, one see that we can go from ...
2
votes
1answer
94 views

Define Macros to automatically change keyboard input

When using Solve for example, I find myself having to use it in conjunction with other types of functions, like Flatten or ...
2
votes
0answers
78 views

Translate key events to nothing?

My Macbook Pro has a touch bar which is causing me to make a bunch of hard-to-find errors If my finger mistakenly hits the F3 through F12 positions on the touch bar, the front end inserts an ...
2
votes
1answer
157 views

What is the "phone" symbol that appears with the keyboard shortcut "ctrl-g" in Mathematica 11.1?

Using ubuntu, and mathematica 11.1, the keyboard shortcut ctrl+g creates a small emoji of an old landline phone (see image). It does not appear in mathematica 10. If I copy it from 11.1 end up with ...
1
vote
0answers
156 views

Shift+home / shift+end not working on linux

Like I said in the title: shift+home (and shift+end) key combinations don't result in selecting line from current cursor position to beginning (or end) of the line. Cursor just jumps to the beginning (...

1
2 3 4 5