Execute matches from command line without a trigger word (or without backspacing the trigger word) #1932
Replies: 3 comments 3 replies
-
Espanso allows the use of some <ctrl+keys> because they are associated with control "characters". Extension of this to <meta> and <alt> combinations is a much requested feature but would require a major rewrite to Espanso, I'm afraid. |
Beta Was this translation helpful? Give feedback.
-
Further to the above, the first workaround I've found to your problem, is to invoke the search bar, and trigger the expansion from there. I agree, it would be nice to have a flag to A small helper script: #!/bin/bash
espanso cmd search
xdotool sleep 0.2 type "$1"
xdotool key Return invoked from a key combination as e.g., |
Beta Was this translation helpful? Give feedback.
-
I have a few matches which I would like to execute based on various keyboard shortcuts (incl. Ctrl, Alt, Meta keys). Currently Espanso doesn't support such keyboard shortcuts, so I would like to trigger them from i3, like so:
As far as I found, I need to refer to the match which I'd like to execute by its trigger word. However, this leads to the situation that Espanso performs the match, and then sends 12 backspace characters, to erase the
:sometrigger
trigger word. Since I've triggered the match from the command line, the 12 backspaces remove something else, as I didn't actually type the trigger word.I see the following possible solutions:
id
?)Beta Was this translation helpful? Give feedback.
All reactions