0

Is it possible to open the "Insert" menu using a keyboard shortcut for Lyx in Mac OS?
For instance, if I want to insert a new page, I have to click on "Insert", but then I can use my keyboard to navigate to and select "New Page." It would really speed things up if I could just hit some keyboard shortcut and open up the "Insert" menu.

Also, I looked at preferences > editing > shortcuts and could not find a shortcut for inserting cross-references (although I could find ones for labels and citations). Is it possible to create a shortcut to insert a cross-refrence?

Edit: I had an idea: I don't see cross-refrence, or insert-menu in the function list, however I could always enter a function name manually (as shown in the screenshot). Can someone check their shortcuts table and tell me the proper function names? (I assume they're defined, just not in the list). enter image description here

enter image description here

  • Is a in "Insert" underlined? For me "I" is underlined (since "I" is thin, the underline is a little hard to see). This signals that if you do "alt + i" it will open the insert menu. – scottkosty May 30 '17 at 3:13
  • I assume you mean the "i" in insert. No. I'll add a screenshot of the menu to the post. – Evan Rosica May 30 '17 at 3:27
  • Regarding finding function names, perhaps tex.stackexchange.com/questions/100962 and tex.stackexchange.com/questions/208510 are useful. – Torbjørn T. May 30 '17 at 12:52
  • @EvanRosica I wonder if somehow you have something in your user directory that overrides the shortcuts. Try going to Help > About to locate your user directory. THen exit LyX. Then move that user directory somewhere else (do not delete it). Then start LyX and then you will have a fresh user directory. – scottkosty May 30 '17 at 13:09
  • @scottkosty I used "cd /" in terminal since the root directory is trivially not part of any other directory. No change as far as I can see (cross references are still gone, still types "i"). As this answer noted superuser.com/questions/303525/… Command + Shift + / brings up the help menu, so theres no reason a shortcut cant bring up the insert menu – Evan Rosica May 30 '17 at 13:58
1

It might depend on your OS, but in general: holding the Alt key will show you the shortcut key. (press and hold Alt) - i - o - n - (release Alt) will start a new page. Cross-reference with Alt - i - r.

  • I'm on macOS. Neither of these work. In the shortcuts window, I can actually see newpage-insert has no shortcut. – Evan Rosica May 30 '17 at 3:26
  • None of these are chortcuts in ordinary sense and will not be listed in that window. Try all your special keys and see what happens with (special key)+i. – PhilipPirrip May 30 '17 at 10:49
  • 1
    According to superuser.com/questions/303525/…, this won't work on your OS. – PhilipPirrip May 30 '17 at 11:04
  • Thanks for that link. One of the answers correctly noted that Shift + Command + / brings up the help menu. Then hitting rightarrow 4 times brings up the inset menu – Evan Rosica May 30 '17 at 13:41

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.