modifier keys and abbreviations?

25 views
Skip to first unread message

jkn

unread,
Oct 5, 2022, 8:30:38 AM10/5/22
to leo-editor
Hi all
    a simple question - is it possible to use CTRL, ALT etc modifiers within abbreviation definitions?

I would like to have eg. CTRL+ALT+o  (followed by ;;) expand to something. My initial experiment didn't work and I wondered if this was known/intended.

Thanks a lot, Jon N

Edward K. Ream

unread,
Oct 5, 2022, 9:41:41 AM10/5/22
to leo-editor
On Wednesday, October 5, 2022 at 7:30:38 AM UTC-5 jkn wrote:

I would like to have eg. CTRL+ALT+o  (followed by ;;) expand to something. My initial experiment didn't work and I wondered if this was known/intended.

I wouldn't say it was intended. But why not just bind an @command node to your desired text? That @command node could trigger Leo's abbreviation logic, if you really need it. Otherwise, the @command node could insert static text.

Edward

jkn

unread,
Oct 5, 2022, 2:49:59 PM10/5/22
to leo-editor
Hi Edward - yes, I appreciate that will probably work, it was going to be my next experiment. Having it as an abbreviation was mostly about keeping similar things together, as it were.

Thanks, Jon
Reply all
Reply to author
Forward
0 new messages