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

Conflict with fzf completion #277

Closed
2 of 3 tasks
bm-mit opened this issue Apr 19, 2024 · 1 comment
Closed
2 of 3 tasks

Conflict with fzf completion #277

bm-mit opened this issue Apr 19, 2024 · 1 comment

Comments

@bm-mit
Copy link

bm-mit commented Apr 19, 2024

General information

  • Terminal program: xterm-kitty
  • Operating system: Linux (6.8.7-arch1-1 Unsupported grep -P option on Mac OS #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000 x86_64 GNU/Linux)
  • ZSH framework: oh-my-zsh master (bf713e2), starship 1.18.2
  • ZSH version: zsh 5.9 (x86_64-pc-linux-gnu)
  • ZVM version: zsh-vi-mode 0.11.0

Basic examination

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

Problem description

fzf supports the autocomplete feature when pressing Tab after ** on the command line.
If this plugin is activated, pressing Tab after ** doesn't open fzf window. Instead, it expands all items in the current directory.

With vi mode activate when pressing cd **<TAB>
image
Without vi mode, fzf works normally
image

Reproduction steps

  1. Install fzf with the default configuration. Add eval $(fzf --zsh) to .zshrc.
  2. Reload terminal
  3. Type cd **
  4. Press TAB

Expected behavior

  • fzf opens a suggesting window.
@bm-mit
Copy link
Author

bm-mit commented Apr 21, 2024

Fixed it by placing ZVM_INIT_MODE=sourcing at top of .zshrc

@bm-mit bm-mit closed this as completed Apr 21, 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

1 participant