junegunn / junegunn/fzf.vim

:FZF command takes 4~5 seconds to close the popup window

Open
#1,422 1 comment 2 reactions 0 assignees View on GitHub
windows
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [X] I have fzf 0.30.0 or above
- [X] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [X] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [X] I have read through the manual page of fzf (`man fzf`)
- [X] I have searched through the existing issues

I use newest fzf ([0.32.1](https://github.com/junegunn/fzf/releases/tag/0.32.1) && fzf.vim (master branch) on neovim (ver 0.7.2 release version), with OS: win 10 && win11, but I notice evey time I run command :FZF, then press ESC, the popup window candidate window will be keep open till 4 seconds to disappear.

Detailed operation process:
1. open neovim with fzf.vim installed.
2. input :FZF, then it will open candidate window. ( If I open task manager, I notice that the fzf.exe and its parent process cmd.exe has runing)
3. hit ESC, I notice that the content of candidate window disappear, which displays a black rectangle with the cursor in the upper left corner. (If I open task manager, I notice that the fzf.exe and its parent process cmd.exe has finished, show that the process of fzf.exe has closed.)

4. After about 4 to 5 seconds, the popup rectangle box disappears and the focus returns to the editor window.
but , if I hit any key between 4 to 5 seconds (Enter or ESC) , the popup rectangle box will disappears immediately.

3'~4'. if I dont hit ESC but select one file, the popup rectangle box disappears about 4 to 5 seconds then the selected file open. this cause 4 to 5 seconds to open a file after I make the select.

other command, :Files, :Rg xxx , also has same problem.

Additional information:most time it take 4 to 5 seconds to open a file after I make the select, but sometime(maybe 10%) it open the file quite fast (less then 1 second),.

And thank you for the great work!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.