Questions tagged [keyboard]
For interacting with the Mathematica front-end using the keyboard: shortcut keys, KeyEvents, keyboard navigation, etc.
267
questions
0
votes
0
answers
25
views
How to change the shortcut of `Cell > Convert To > StandardForm`?
I want to customize the shortcuts in Cell > Convert To.
My version is 13.3.0 for Mac OS X ARM (64-bit) (June 3, 2023), and ...
0
votes
0
answers
46
views
Custom Single keystroke shortcut related to `Graphics`
In the world of software, single keystroke shortcut exists but rare.
Because for single keystroke shortcut, there is a prerequisite :
A single keystroke shortcut can be used in situations
where ...
0
votes
1
answer
60
views
The shortcuts for typing subscript is valid
I installed the Mathematica 13.2 in my new computer, everything worked well excepted that the shortcuts for typing the subscripts "ctrl+ _" doesn't work. I tested that the "ctrl" ...
2
votes
1
answer
82
views
How can I write subscripts for partial derivative?
I am trying to solve partial derivatives on Mathematica cloud.
I checked the tutorial provided by Wolfram.
And it says I can input differentiation variable by ctrl + _.
However, whenever I am trying ...
0
votes
0
answers
22
views
Keyboard shortcut function to copy a regular ExpressionString in order to paste it to Regexr.com?
regexr.com is very helpful when developing regular expressions for Mathematica (=PCRE).
Unfortunately Mma 12.3 (and other versions too) have to escape all backslashes and double quotation marks inside ...
12
votes
2
answers
331
views
How can I create a shortcut to convert "normal Symbol" to Formal Symbol?
I'd like to create a shortcut to convert a selected symbol, say \[Delta], into its rough equivalent formal symbol (i.e., ...
0
votes
0
answers
34
views
why ctrl-% for upper limit of integral does not work on macOS?
I'm trying to enter an integral "visually" on mathematica 13.2 on macOS ventura 13.1. I did esc-intt-esc, and then used ctrl-dash (which the Mathematica documenation calls ctrl-underscore, ...
0
votes
0
answers
46
views
Mathematica disable `Ctrl+w` shortcut to close program
By accident on multiple occasions I closed mathematica 13.0 without any prompt by hitting CTRL + w on Linux.
How can I disable ...
3
votes
0
answers
63
views
How to define this useful shortcut?
My system of code organization in Mathematica is such that that after a block of code that achieves a specific goal I create a new cell and skip 4 or 5 lines in it, and write new code in the next line....
0
votes
0
answers
63
views
READKEY: Big claims on an old problem
In my old BORLAND PASCAL DOS, I often used keyboard commands in the form of an infinite loop, interrupted when reading some keys:
...
2
votes
1
answer
209
views
Shift + Esc in Mathematica 13.1
In the previous versions of Mathematica shiftesc is just interpreted as esc. This is quite convenient for me because, for example, capital Greek letters can be typed by keeping shift down and pressing ...
4
votes
1
answer
972
views
Can't exit full view [closed]
When coding I accidently pressed some shortcut that lead to a full screen without the option to clode or minimize the window. I have windows.
Even if I close the file and open it again, it opens with ...
3
votes
1
answer
193
views
Is there a keyboard shortcut to show the function parameters information popup?
Is there a keyboard shortcut to force this popup menu to appear, as I am typing the parameters? My reason for wanting it to show is so that I can remember what the parameters to the function are.
I ...
2
votes
1
answer
292
views
Revert new keyboard shortcut for fraction typesetting
After updating to version 13.1 on macOS 12.4, I discovered that the keyboard shortcut for typesetting a fraction (Insert > Typesetting > Fraction) has changed. In previous versions, the shortcut ...
0
votes
0
answers
30
views
Control mouse movement and keyboard during screen recording
I want to record my screen, as explained here, and during the recording to move the mouse from point (x1,y1) on the screen to point (x2,y2), in a straight line, with some specified speed.
The software ...
7
votes
0
answers
103
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 ...
1
vote
0
answers
164
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 ...
4
votes
1
answer
170
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 ...
2
votes
1
answer
256
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?
2
votes
1
answer
87
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 ...
2
votes
2
answers
69
views
NotebookEventAction that triggers AFTER two successive key presses (not one)
My notebooks contain only text-based cells and no code. I use InputAliases quite a bit to save time. Typing the escape key before and after to trigger the InputAliases is not very efficient for me.
...
4
votes
2
answers
108
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 ...
1
vote
1
answer
163
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 ...
2
votes
0
answers
181
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 ...
1
vote
0
answers
80
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 ...
1
vote
0
answers
49
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:
...
4
votes
1
answer
198
views
What's the correct action for pressing a key?
Consider the following code:
...
6
votes
1
answer
330
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 ...
1
vote
1
answer
64
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 ...
1
vote
0
answers
46
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&...
1
vote
1
answer
88
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
1
answer
78
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
3
answers
279
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 ...
2
votes
2
answers
142
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-...
2
votes
0
answers
492
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
1
answer
59
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
1
answer
84
views
KeyEventTranslations.tr shortcut setting - work/not work
About editing KeyEventTranslations.tr
Item[KeyEvent["q", Modifiers -> {Control}], "MoveNextWord"] : working
...
2
votes
1
answer
283
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
0
answers
91
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 "
...
3
votes
0
answers
47
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
1
answer
285
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
0
answers
40
views
how do i stop the "=" symbol from creating "WolframAlphsShort" [duplicate]
how do I stop the "=" symbol from creating "WolframAlphsShort."
5
votes
1
answer
222
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
1
answer
115
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
1
answer
276
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
1
answer
443
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
1
answer
585
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
...
4
votes
3
answers
516
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
0
answers
503
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
2
answers
581
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 ...