Open snikoletopoulos opened 1 month ago
Unable to remap ^s to zsh binding
^s
I had a mapping to ^s. When loading ZVM I lose this binding.
ZVM
I tried to use this function, but it didn't work
function zvm_after_lazy_keybindings() { zvm_define_widget pet-select bindkey '^s' pet-select }
pet
pet-select() { BUFFER=$(pet search --query "$LBUFFER") CURSOR=$#BUFFER zle redisplay } zle -N pet-select stty -ixon bindkey '^s' pet-select
fwd-i-search: _
pet is triggered and the dialog is shown.
Unable to remap
^s
to zsh bindingBasic examination
Problem description
I had a mapping to
^s
. When loadingZVM
I lose this binding.I tried to use this function, but it didn't work
Reproduction steps
pet
in^s
^s
. There is a text showingfwd-i-search: _
but not thepet
snippet dialog.pet
is triggered and the dialog is shown.