I’d like to define a shortcut like this: while holding Alt, click x twice to input <b-xi>
. In my-init-texmacs.scm
, I use A-x A-x
. The final output is correct, but the editor displays A - x
after the first x is pressed. Is this the right way to define such a shortcut?
How to define shortcuts such as "A-x A-x"
I think it is the correct way … based on the fact that A-x-x
does not work.
The editor displaying A - x
after the first x is pressed might be a bug.
Can you show us the command that you are using in your `my-init-teXmacs.scm"?
("A-x A-x" "<b-xi>")
The builtin shortcut C-space
works with multiple pressing of the space keys. But I didn’t find the definition of the shortcut in the scheme files.
Thanks, it looks like a bug, I’m not sure what is the origin. What happens with "S-x S-x"
or other modifiers?
"S-x S-x"
works just like X X
. Other modifiers work like Alt
.