Closed cohml closed 4 months ago
The README states that this plugin binds ^Q to an action, but it doesn't do so for vi command mode.
^Q
Source zsh-hist and enter emacs mode.
zsh-hist
source zsh-hist.plugin.zsh bindkey -e
Note that the ^Q yields the desired behavior.
Now enter vi mode.
bindkey -v
After ensuring you're in insert mode (press Esc and then i to be sure), note that ^Q works.
Esc
i
Now press Esc to enter command mode, and note that ^Q does NOT work.
push-history is not Emacs/Vi/insert/command-related, so^Q should yield the same behavior across all modes by default.
push-history
^Q works only in emacs mode and vi insert mode, not vi command mode.
* main 3efe240 Fix bugs in
widget
Describe the bug
The README states that this plugin binds
^Q
to an action, but it doesn't do so for vi command mode.Steps To Reproduce
Source
zsh-hist
and enter emacs mode.Note that the
^Q
yields the desired behavior.Now enter vi mode.
After ensuring you're in insert mode (press
Esc
and theni
to be sure), note that^Q
works.Now press
Esc
to enter command mode, and note that^Q
does NOT work.Expected behavior
push-history
is not Emacs/Vi/insert/command-related, so^Q
should yield the same behavior across all modes by default.Observed behavior
^Q
works only in emacs mode and vi insert mode, not vi command mode.Click to expand
Environment:
* main 3efe240 Fix bugs in
push-historywidget