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
18 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 ...
4
votes
1answer
154 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
33 views

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

how do I stop the "=" symbol from creating "WolframAlphsShort."
5
votes
1answer
68 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
75 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
42 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
45 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
162 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
62 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
98 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
1answer
242 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
181 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
35 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
26 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
27 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
44 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
36 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
172 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
126 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
24 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
116 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
126 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
27 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
22 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
45 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
53 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
26 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
8
votes
1answer
257 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
98 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
79 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
146 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
53 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
205 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
279 views

How to overwrite key shortcuts?

It is very handy to have shortcuts for frequently used glyphs, e.g. [[, ]], <|, ...
5
votes
1answer
140 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
84 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
68 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
131 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
102 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 (...
3
votes
2answers
181 views

Is there any keyboard shortcut to delete the output of a particular cell

Is there any keyboard shortcut key to delete the output of a particular cell in Mathematica. Suppose if I am in a particular cell, and the cell has some output and If use some keyboard shortcut like ...
0
votes
0answers
72 views

Keyboard shortcuts to invoke and navigate help attached cell?

How to create a keyboard shortcut to invoke and navigate the small help attached cell with that contains the syntax templates and the link to the documentation? Currently this help cell only shows up ...
1
vote
1answer
85 views

Custom Hotkey Toggle Initialization

In this old stack overflow answer (referring to this even older page) it is shown how to make custom hotkeys by modifying the file KeyEventTranslations.tr. Some ...
2
votes
1answer
57 views

Shortcut key to extend selection in the same way as mouse multiclicks

I would like to make a key-binding to select everything below one level above my the current postion of the cursor. This should be the same what happens if I multi-click on an expression -- each click ...
7
votes
3answers
590 views

Programmatically create a keyboard shortcut to “Align Center” a Text Cell without losing cursor position

I'm attempting to create a keyboard shortcut to center the contents of a text cell exactly as clicking "Align Center" accomplishes in the Format Menu. As far as I can tell, there is no frontendtoken ...
0
votes
0answers
141 views

Solution for multiple cursors to perform multiple simultaneous edits

Is there any good solution available for performing multiple edits simultaneously in a Mathematica notebook? As a workaround, I occasionally paste Mathematica code into a Visual Studio Code editor, ...
2
votes
0answers
83 views

Keyboard control of 1d and 2d sliders in Manipulate

I would like to be able to control the sliders in Manipulate via keyboard control (not just by dragging with the mouse). How can I do this? I've seen this post, but unfortunately the keyboard part ...
3
votes
2answers
176 views

“NewRow” shortcut on OS X Mathematica 11 not working

The shortcut to add a row to a matrix ("ctrl"+"Return") on my OS X version 11.1.1.0, isn't working. Instead of inserting a new row it just inserts a new line into the cell. Has anyone else experienced ...
2
votes
0answers
30 views

remapping MacBook Power button to work as Esc?

MacBook power button symmetrically mirrors Esc key on MacBook Pro keyboards, so it seems natural to remap make it work as Esc to ease on left-hand some strain, any idea if that's possible?
0
votes
0answers
79 views

Close/Open current section

I want to create a keyboard shortcut to open or close the section my cursor is currently in, or in case I am selecting a cell or multiple cells (let's assume not headers (alt 1-6) them self for ...
3
votes
2answers
267 views

Remap escape key for entering special characters?

My keyboard does not have an escape key, and remapping it through my computer/keyboard settings is turning out to be much harder than I previously thought. Also, ...

1
2 3 4 5