How I can I create hotkeys for some of the features in LyX? Are there keyboard shortcuts for the "Horizontal Space" feature?
There is a plethora of hotkey configuration options in
If you type "space" in the Show key-bindings containing field, you'll see the existing shortcuts for some
You could also try to create a new, customized one if the choice is not sufficient for your needs, but that is tricky.
If you just want to get to the formatting window for horizontal spaces, the good old
will do the job.
In general, when you call any dialog in LyX (i.e. any box that pops up so you can choose to insert or modify something) the appropriate command to issue in order to call the dialog box is shown in the bottom status bar (but disappears as soon as anything else happens, so you have to be quick, or repeatedly call the dialog).
When you go to
To make a shortcut to that dialog, go to Preferences > Editing > Shortcuts, make a new shortcut, and as the command insert
i.e. what the status bar wrote, but without the parentheses. Choose a shortcut, and this will now call the dialog.
If there is some space you want to insert all the time, you can also insert it a bit more rudely, using Evil Red Text (TeX code).
To find the code for the space you wish to insert, insert it via the menus, move the cursor to it and choose
This will insert a ERT box; and it the ERT box insert the code