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

Attachment: signature.asc
Description: PGP signature

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to