Instead of using the menu for Insert->Formatting->Superscript or Subscript, I would like to use a keyboard shortcut.
I tried Tools->Preferences->Shortcuts, there are already shortcuts for math-superscript and math-subscript, but they put me in math mode, which is not what I want.
I tried to add a new shortcut, however, I couldn't find the name of the function. I tried "superscript" and "font-superscript" but got an error "Unknown or invalid LyX function name".
How can I find the correct function name?