How to remap enter to a different command to execute #2897
-
I use fzf as my launcher in sway an have the command below in my launcher.zsh
How can I rebind if that isn't possible, Is the a way I can prevent |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Have a look at https://github.com/junegunn/fzf/wiki/Examples#dnf The example does not unbind and rebind |
Beta Was this translation helpful? Give feedback.
-
@tg0h Thank you for the pointer, The examples did help. |
Beta Was this translation helpful? Give feedback.
Have a look at https://github.com/junegunn/fzf/wiki/Examples#dnf
The example does not unbind and rebind
enter
. Rather, it uses a singleenter
command, stores the current state (whether inctrl-e
orctrl-d
mode) in a temp file and then uses that to determine whatenter
should do.