2
$\begingroup$

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 goes one level up. But it would be very comfortable do it on the keyboard.

I have checked the Keyboard Shortcut Listing and Shortcuts package by Rolf Mertig, and it seems to me, that such a key-binding is not readily available. There is an example on how to make a key-binding, which would change color of the select text to get started.

There are some more general instructions in these answers:

$\endgroup$
2
$\begingroup$

Maybe Ctrl+. is what you are looking for. This is the already assigned shortcut for Edit > Extend Selection

$\endgroup$
  • $\begingroup$ Thanks. If you know how it is called, it is not so hard to find. $\endgroup$ – Johu Sep 19 '18 at 2:47
  • $\begingroup$ I was really wondering why no one had asked it before. Now I know. AFK in shame. $\endgroup$ – Johu Sep 19 '18 at 2:49
  • 2
    $\begingroup$ @Johu. Yes, as in fantasy fiction, knowing the true name of something in Mathematica gives you power over it. $\endgroup$ – m_goldberg Sep 19 '18 at 2:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.