jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.94k stars 102 forks source link

Ctrl commands are broken #187

Open dagadbm opened 1 year ago

dagadbm commented 1 year ago

General information

When using zsh-vi-mode I try to use Ctl-Z or Ctrl-G or Ctrl-F to do several fzf commands I usually run but when I try to use them with zsh-vi-mode it doenst work.

Here are the relevant functions that do it:

https://github.com/dagadbm/dotfiles/blob/master/zsh/zshrc.zsh#L116

Basic examination

Problem description

Reproduction steps

1. 2. 3.

Expected behavior

antony-frolov commented 1 year ago

Same issue

tjex commented 1 year ago

this is addressed in the readme

(although the solutions in the readme don't work for me. But I could well be doing something wrong. If you can get it to work, please comment back!)

EDIT: I've since got it working just as the readme suggests. Was my own errors as expected.

MostHated commented 1 year ago

I was able to get my history widget back () with the following:

 function zvm_after_init() {
  zvm_bindkey viins '^R' fzf-history-widget
}