Simple keyboard shortcut
Scott Kostyshak
skostysh at lyx.org
Sun Jul 25 13:43:19 UTC 2021
On Sun, Jul 25, 2021 at 08:48:51AM +0300, Baris Erkus wrote:
> Could someone explain *step-by-step* how to add a shortcut to insert italic
> "i.e." when I press Ctrl+i+e?
>
Hi Barış,
I don't know if it's possible to use that particular key sequence for the shortcut. I tried and it doesn't work for me. In case it's still helpful, I can tell how to use a different key sequence.
First let's make sure we get the command-sequence that you want. The general way to do this is written up step-by-step here:
http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531
I think the command-sequence you want is the following:
command-sequence font-emph; self-insert i.e.; font-emph
Copy that command-sequence line (starting with "command-sequence" and ending with the second "font-emph"), then in LyX go to Tools > Preferences > Editing > Shortcuts. Then click on "New". In the box "Function", paste the command-sequence. Then click on the blank rectangle and then press the key sequence you want (unfortunately I think your ideal sequence doesn't work). Then press "OK".
I'm sorry I couldn't figure out how to do it with "Ctrl+i+e". It did work for me with "Ctrl + ;".
Best,
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210725/3722f7a6/attachment.asc>
More information about the lyx-users
mailing list