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
4 votes
0 answers
67 views

Efficiently calling Paclet Repository functions

I'm starting to explore the new Wolfram Language Paclet Repository and have a question about using these new functions efficiently. The documentation and examples in Bob Sandheinrich's Community post ...
user avatar
  • 17.7k
1 vote
0 answers
45 views

Some ctrl-dependent shortcuts not working as expected after update to Mathematica 13

I recently updated to Mathematica 13 and now some of my ctrl-dependent shortcuts doesn't work. Ctrl+/ which is used for fraction and ctrl+= which is used for inline free-form cells doesn't work. In ...
user avatar
  • 11
4 votes
1 answer
77 views

How can I make a shortcut for strikeout?

Sometimes I need to strikeout the code I wrote which has turned out to be wrong, like this: By this way, it can remind me intuitively that code struck out does not work and to learn from the mistake ...
user avatar
  • 383
1 vote
1 answer
62 views

Is there some shortcuts to delete a cell?

Just like deleting a line with ctrl+d or something else in normal coding, is there some shortcut to delete a whole cell?
user avatar
  • 113
2 votes
1 answer
48 views

My custom shortcut for Escape Key is not parsing in a text cell

I often use the escape key to quickly write mathematical notation in a text cell(e.g. $\pi$ is written when pressing escape+"pi"+escape). I find the escape key annoying to use because it's ...
user avatar
  • 4,559
0 votes
0 answers
41 views

How to stop annoying notifications sound when using "Remove from Evaluation Queue" shortcut?

I have Mathematica 13.0 Student Edition for Windows 10 and whenever I use " Shift + Alt + / " I get this annoying "Windows" notifications sound. There has to be a way to stop it, ...
user avatar
0 votes
0 answers
40 views

Mac open menu bar keyboard shortcut

On windows I can press altc to access the Cell menu in the menu bar. Obviously on a Mac you can see the keyboard shortcuts for various menu items once you click on the top bar, but can you focus on ...
user avatar
  • 2,688
0 votes
0 answers
19 views

Cannot change value of MenuCommandKey in options inspector of Cells in a stylesheet notebook

I am on a Macbook and want to change the comment selection shortcut to CMD+3. But CMD+3 or Alt+3, is already attributed to format the text as Chapter. I opened the SystemFiles/FrontEnd/StyleSheets/...
user avatar
2 votes
1 answer
87 views

Strange behaviour of "Ctrl+." (ExpandSelection)

I have always used the Ctrl+. keyboard shortcut (ExpandSelection) to select a group of text. Repeatedly pressing . (whilst still holding Ctrl) would select a ...
user avatar
  • 471
1 vote
1 answer
162 views

v13: Opt+left fails to move in text-like cells

I just updated Mathematica to v13 for Intel Mac and encountered a possible bug in frontend: for any text-like cell (text, header, etc.), one fails to use Opt+← to navigate between words leftward as ...
user avatar
  • 4,177
2 votes
0 answers
88 views

Mathematica keyboard problem: Typing integral limits

I'm using a Czech keyboard and I'm trying to figure out how to put the upper limit into integral. Normally one would use Esc int Esc and then use Ctrl_ to put in ...
user avatar
  • 305
1 vote
0 answers
74 views

Unable to use Enter to next line [duplicate]

My question is almost similar to Gappy Hilmore but slightly different. In my case, I can use Shift + ENTER to run the code as usual. Note: it's ...
user avatar
  • 173
1 vote
0 answers
33 views

KeyEventTranslations.tr doesn't takes effect

I'm using Mathematica 12.3 on MacOS 10.15, and trying to add new shortcuts to the KeyEventTranslations.tr. I have tried the following two locations: ...
user avatar
  • 381
4 votes
1 answer
185 views

What's the correct action for pressing a key?

Consider the following code: ...
user avatar
0 votes
0 answers
17 views

How to map a keyboard combination of two keys pressed in sequence with modifiers to a palette?

I am aware of the question How to add a keyboard shortcut to open a Palette. I would like to modify the example there to open the special character palette when I press Ctrl+Shift+S,C. How would I ...
user avatar
6 votes
1 answer
309 views

How can I self-define a keyboard entry for 3-dot "Because"?

In Mathematica, there already exists a keyboard entry for 3-dot "Therefore", which provides great convenience for input as shown below. However, I find it a little odd that for its ...
user avatar
  • 383
1 vote
1 answer
47 views

How to manually input a row above the top row in a matrix?

Assuming you already have a 3x3 matrix but now you want to manually input a row above the top row. How can I do that? Pressing Ctrl + Enter only enter a row below ...
user avatar
  • 1,800
1 vote
0 answers
44 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&...
user avatar
1 vote
1 answer
73 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 ...
user avatar
  • 383
2 votes
1 answer
71 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 ...
user avatar
7 votes
2 answers
154 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 ...
user avatar
0 votes
0 answers
25 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. ...
user avatar
  • 1,167
2 votes
2 answers
86 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-...
user avatar
  • 611
2 votes
0 answers
144 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 ...
user avatar
1 vote
1 answer
51 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]]]]]
user avatar
  • 2,815
2 votes
1 answer
71 views

KeyEventTranslations.tr shortcut setting - work/not work

About editing KeyEventTranslations.tr Item[KeyEvent["q", Modifiers -> {Control}], "MoveNextWord"] : working ...
user avatar
  • 2,815
2 votes
1 answer
138 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 ...
user avatar
  • 181
2 votes
0 answers
81 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 " ...
user avatar
  • 9,148
2 votes
0 answers
33 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 ...
user avatar
  • 393
6 votes
1 answer
259 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) ...
user avatar
  • 403
0 votes
0 answers
37 views

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

how do I stop the "=" symbol from creating "WolframAlphsShort."
user avatar
5 votes
1 answer
163 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 ...
user avatar
  • 535
3 votes
1 answer
107 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[]. ...
user avatar
3 votes
1 answer
105 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 ...
user avatar
  • 1,973
1 vote
1 answer
180 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 ...
user avatar
  • 119
4 votes
1 answer
413 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 ...
user avatar
  • 11.5k
3 votes
2 answers
227 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 ...
user avatar
  • 379
0 votes
0 answers
366 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?
user avatar
8 votes
2 answers
432 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 ...
user avatar
  • 52.3k
0 votes
1 answer
584 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-...
user avatar
  • 111
1 vote
0 answers
49 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 ...
user avatar
  • 121
0 votes
1 answer
35 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 ...
user avatar
  • 699
1 vote
0 answers
34 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 ...
user avatar
  • 1,115
4 votes
0 answers
78 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 ...
user avatar
  • 1,423
2 votes
0 answers
60 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 ...
user avatar
  • 577
7 votes
2 answers
318 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 -...
user avatar
  • 2,483
4 votes
2 answers
377 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?
user avatar
  • 856
0 votes
0 answers
29 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 ...
user avatar
5 votes
1 answer
166 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 ...
user avatar
  • 753
2 votes
0 answers
189 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["...
user avatar
  • 51

1
2 3 4 5 6