[Tex/LaTex] How to create a hyperlink shortcut in Lyx

lyx

A section of my pdf report is a collection of web links with comments. I would like to use a shortcut such as CTRL+K to insert hyperlinks. I couldn't find a hyperlink function under the Lyx Tools / preferences / Shortcuts. Is there a way to add a hyperlink shortcut?

Best Answer

Thanks to @scottkosty 's answer on how to find the name of a Lyx function, I selected "User command" debug messages under View > Messages Pane and I found the name of the "Insert Hyperlink" function. Under Tools / preferences / Editing / Shortcuts / "Cursor, Mouse and Editing functions". The function is called: href-insert.

Create a shortcut for the insert href link function

I then clicked on modify and gave it the shortcut CTRL+K. It replaces another command which I never used.