Questions tagged [keyboard]

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

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
163 views

How to overwrite key shortcuts?

It is very handy to have shortcuts for frequently used glyphs, e.g. [[, ]], <|, ...
6
votes
0answers
427 views

Front End does not respond to keys (version 10.2, Linux)

I was often complaining about the front end performance under Linux, but it seems I could pin down a very critical issue. I made a screen-cast that shows how to reproduce the issue Screen-cast on ...
6
votes
0answers
206 views

Automatic replacing of [ with []

I tried to modify the KeyEventTranslations.tr file in order to always place a closed bracket instead of an open bracket once I press ...
5
votes
0answers
39 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
0answers
155 views

Using an umlaut for a keyboard shortcut

How can I define a keyboard shortcut based on an umlaut like ü? KeyEvent in KeyEventTranslations.tr doesn't seem to register umlaut based keyboard inputs. For ...
5
votes
0answers
420 views

Why FrontEnd`KernelExecute doesn't work in KeyEventTranslations.tr?

Which commands can you put in KeyEventTranslations.tr ? There is an extensive list of FrontEndTokens, but what else can you use? Why something like this doesn't ...
4
votes
0answers
256 views

Autocomplete not working with tab key in Mathematica 10.3 on Ubuntu

When I want to autocomplete a function I can't use Tab key to expand what I typed in. If I press Tab, it escapes the popup suggestion menu. Autocomplete only works if I press Enter. Furthermore, once ...
4
votes
0answers
85 views

Help with Control+m shortcut

I am attempting to create a keyboard menu item shortcut using control + m. I have been successful at doing this however, I'm running into problems with this particular shortcut as it works about half ...
4
votes
0answers
341 views

Brevity of denoting Conjugate[]

How do I make Conjugate[] expressions have a bar above them instead of Conjugate[ before them, in order to shorted up expressions? I'm looking at something like this screenshot for example:
3
votes
0answers
65 views

Native keyboard input for Ctrl+ü

The physical layout of my keyboard is a German one. However, for Windows I'm using a custom keyboard layout created with the Keyboard Layout Creator. Within that layout I defined Ctrl+ü to be ...
3
votes
0answers
164 views

Alt drag does not work properly

When a graphics is displayed, right clicking will bring up the Get Coordinates tool. To select a rectangular region, you can do it manually by selecting the two corners and Alt+C will copy these two ...
3
votes
0answers
159 views

short cut entry in KeyEventTranslations.tr works on V 10.0.2 but does not work in V 10.1

I added 2 useful key shortcuts to my V 10.0.2 KeyEventTranslations.tr to allow adding [[ and ...
2
votes
0answers
49 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
0answers
54 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 ...
2
votes
0answers
28 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?
2
votes
0answers
75 views

how can I bind “Control”+“Return” to “Evaluate Notebook”

how can I bind "Control"+"Return" to "Evaluate Notebook" Attempt1 I tried by modifying KeyEventTranslations.tr and restarting my computer. To no avail :( ...
2
votes
0answers
65 views

Is it possible to navigate in the frontend by cell merely by keystrokes?

What are the keystrokes to go to the next cell? (depending on cell(s) currently selected) go to the previous cell? (depending on cell(s) currently selected) select the enclosing group of cells? (i.e....
2
votes
0answers
73 views

Create keyboard shortcut for automatic source formatting in workbench

In the context menu under Source there is an option to automatically format/indent code, but it doesn't have a keybinding associated. The command also doesn't seem to appear in the Window → ...
2
votes
0answers
98 views

Creating advanced AutoInputReplacement functionality

I have an "advanced" question about InputAutoReplacements. I have been working on creating InputAutoReplacements to make my workflow faster. The InputAliases's are frustrating having to reach up ...
2
votes
0answers
52 views

Is there a way to fine tune the behavior of the Control + RightArrow keyboard shortcut?

I am not satisfied with the behavior of Ctrl+RightArrow or Ctrl+LeftArrow when navigating the expression in the Mathematica front-end. To be specific, they trigger a jump from one command to another. ...
2
votes
0answers
64 views

Is there a keyboard shortcut that reproduces the code two input cells above the current cursor location?

In Mathematica running on OS X, Cmnd+L is one of my favorite keyboard shortcuts, as it reproduces the code in the input cell above cursor location into the current cell or into a new cell when the ...
2
votes
0answers
91 views

A problem about generating `[]` automatically

I have using the Wolfram Mathematica for two years.And I know the Mathematica has the operation Alt + ] that can generate []. ...
2
votes
0answers
313 views

Specifying shortcut without modifying KeyEventTranslations.tr

Until recently, I followed the suggestions(e.g., https://stackoverflow.com/questions/7327411/is-there-a-way-around-using-and-for-part-in-mathematica) to introduce some new shortcuts. However, I moved ...
2
votes
0answers
147 views

Insert a Quantity Unit literal in TraditionalForm

Is there a keyboard shortcut for creating something like the result of this: Quantity["Kilograms" * ("Meters")^2 / ("Seconds")^2] After copying the result to a <...
1
vote
0answers
23 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
1
vote
0answers
67 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
0answers
31 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 "...
1
vote
0answers
39 views

How define shortcuts to specific OptionInspector points?

I often assign label to cells by OptionInspector (SHIFT + CRTL + O) > CellFrame > etc. It would be great to have the possibility to jump directly to CellFrameLabel or, even better, to edit the label ...
0
votes
0answers
57 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 (...
0
votes
0answers
55 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 ...
0
votes
0answers
82 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, ...
0
votes
0answers
72 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 ...
0
votes
0answers
46 views

How to create a shortcut for zooming in/out in Mathematica for Linux 11.3?

I want to use Ctrl +Scroll to zoom in/out in the notebook front-end of Mathematica for Linux 11.3 How to achieve this?
0
votes
0answers
110 views

Fold/unfold all groups at given level via keyboard shortcut

The combination ctrl+' can be used to fold/unfold a selected group. Is there a way to fold/unfold all cells at a given nesting level, and possibly also to fold/...
0
votes
0answers
55 views

Resizing text with keyboard shortcuts in Mathematica 10

In Mathematica 10, it seems that the Alt+= and Alt+- shortcuts affect the entire cell instead of only the selected text. In the following example, I highlighted "line 2" and pressed Alt+= several ...