Skip to main content

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
2 votes
1 answer
60 views

How to clear NotebookEventActions or unbind keyboard event

I tried to write a function to "Evaluate in Place", as I've shown in: How to get the output of evaluating in place and append the output to the place. But now I have encountered a new ...
Yao Li's user avatar
  • 111
2 votes
0 answers
35 views

How to highlight the next expression that matches the currently selected expression

Sometimes, one has to modify a notebook in multiple places that contain the same text. Is there a way to highlight the next expression that matches the currently selected expression so one can edit ...
Paweł Korzeb's user avatar
0 votes
0 answers
62 views

Wolfram Cloud does not evaluate cells using Shift+Enter

When one clicks Shift+Enter on or evaluates a cell, it prevents you from typing/editing it, so it was thought How can I prevent SHIFT-ENTER moving the editing cursor? would stop this, but it did not....
Тyma Gaidash ٠'s user avatar
0 votes
0 answers
24 views

How can I change the Un/Comment section keybinding

I want to change the global keybinding of Mathematica 13.2. to something else since on a german keyboard it does not work properly. Is that somehow possible?
krabby patty's user avatar
3 votes
1 answer
124 views

Notebook key shortcut to move current cell group up/down/in/out?

How would one add (four custom keyboard-based not palette-based) shortcuts for moving the cellgroup containing the cursor up and down and in and out (akin to tab indent) relative to adjacent cells. ...
user5601's user avatar
  • 3,655
12 votes
2 answers
316 views

Turn off keyboard shortcut

Every once in a while when editing a formula, I want to add a parenthesis at the beginning of the line by pressing Shift9 to get (. However, I will accidentally ...
user297024's user avatar
0 votes
0 answers
54 views

No-op front-end token to "unmap" key events

Is there a no-op front-end token that does nothing? The reason I ask this is because on Linux, Mathematica 13.3 produces nonsensical characters (see image below) on pressing ...
B215826's user avatar
  • 101
2 votes
0 answers
58 views

How to apply Esc key as double typing in EventHandler?

I wrote a code to delete the text in InputField with the Esc key. ...
Milk's user avatar
  • 1,718
0 votes
0 answers
50 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 ...
imida k's user avatar
  • 4,295
0 votes
1 answer
81 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" ...
Knife Lee's user avatar
  • 149
2 votes
1 answer
128 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 ...
H_Kim's user avatar
  • 45
12 votes
2 answers
350 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., ...
Craig Carter's user avatar
  • 4,510
3 votes
0 answers
65 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....
GaloisFan's user avatar
  • 405
0 votes
0 answers
67 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: ...
rosu_constantin's user avatar
2 votes
1 answer
219 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 ...
MannyC's user avatar
  • 810
5 votes
1 answer
2k 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 ...
Nikolo J Bar's user avatar
3 votes
1 answer
341 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 ...
mbl's user avatar
  • 185
2 votes
1 answer
527 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 ...
imas145's user avatar
  • 998
0 votes
0 answers
36 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 ...
tush's user avatar
  • 375
8 votes
0 answers
107 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 ...
Chris K's user avatar
  • 20.3k
1 vote
0 answers
228 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 ...
CMDJojo's user avatar
  • 11
5 votes
1 answer
237 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 ...
AlbertLew's user avatar
  • 483
2 votes
1 answer
413 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?
narip's user avatar
  • 381
2 votes
1 answer
107 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 ...
B flat's user avatar
  • 5,565
2 votes
2 answers
73 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. ...
B flat's user avatar
  • 5,565
4 votes
2 answers
118 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 ...
dzejkob's user avatar
  • 501
1 vote
1 answer
167 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 ...
sunt05's user avatar
  • 4,367
2 votes
0 answers
239 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 ...
Nitaa a's user avatar
  • 770
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 ...
nightcape's user avatar
  • 183
2 votes
0 answers
71 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: ...
Lelouch's user avatar
  • 543
4 votes
1 answer
211 views

What's the correct action for pressing a key?

Consider the following code: ...
user3257842's user avatar
6 votes
1 answer
358 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 ...
AlbertLew's user avatar
  • 483
1 vote
1 answer
68 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 ...
hana's user avatar
  • 2,390
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&...
r_31415's user avatar
  • 111
1 vote
1 answer
99 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 ...
AlbertLew's user avatar
  • 483
2 votes
1 answer
80 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 ...
ComptonScattering's user avatar
7 votes
3 answers
315 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 ...
user108903's user avatar
2 votes
2 answers
186 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-...
Trev's user avatar
  • 763
2 votes
0 answers
696 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 ...
Anti Earth's user avatar
  • 1,211
1 vote
1 answer
61 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]]]]]
imida k's user avatar
  • 4,295
2 votes
1 answer
89 views

KeyEventTranslations.tr shortcut setting - work/not work

About editing KeyEventTranslations.tr Item[KeyEvent["q", Modifiers -> {Control}], "MoveNextWord"] : working ...
imida k's user avatar
  • 4,295
3 votes
1 answer
412 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 ...
Luca's user avatar
  • 191
2 votes
0 answers
92 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 " ...
Zviovich's user avatar
  • 9,308
3 votes
0 answers
54 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 ...
mikabozu's user avatar
  • 403
6 votes
1 answer
297 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) ...
jjagmath's user avatar
  • 411
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."
user75853's user avatar
5 votes
1 answer
246 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 ...
bhopshang's user avatar
  • 739
3 votes
1 answer
123 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[]. ...
Tanner Legvold's user avatar
3 votes
1 answer
383 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 ...
StarBucK's user avatar
  • 2,164
1 vote
1 answer
601 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 ...
Knife Lee's user avatar
  • 149

1
2 3 4 5 6