Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use fzf to search history in insert mode #297

Open
1 task
Lithiumion007 opened this issue Oct 17, 2024 · 1 comment
Open
1 task

can't use fzf to search history in insert mode #297

Lithiumion007 opened this issue Oct 17, 2024 · 1 comment

Comments

@Lithiumion007
Copy link

Basic examination

  • [ x] I have read through the README page
  • [ x] I have the latest version of zsh-vi-mode
  • I have tested with another terminal program

Problem description

When i in insert mode , pressed ctrl-r , fzf not work. But in normal mode,fzf works.
Sorry to duplicate , i guess it's sourcing's sequence problem. I have readed the closed issues about fzf and zsh-vi-mode.

Reproduction steps

1.I appended zvm_after_init_commands+=('[ -f $HOME/.fzf.zsh ] && source $HOME/.fzf.zsh' ) in zsh-vi-mode.zsh
2.In my .zshrc, source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
3.source .zshrc

Expected behavior

After pressed ctrl -r , fzf can work to search history.

Actual behavior

In insert mode, fzf works. But appears a string of words,like " -ne \e[6 q -ne \e[6 q". Whenever i input a command, "-ne \e[6 q " still appeas. It's so strange.
B177E6CB53C7D32089D3CAF3F9CED367

@hvdute
Copy link

hvdute commented Dec 20, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants