-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fzf on gvim windows without WSL? #1093
Comments
It works if you have the latest version of Vim supporting |
See #1019 |
@junegunn: assume my givm on windows support terminal and it did. |
No, it's determined at compile time. |
@junegunn: If that I think I installed gvim that enabled terminal and :terminal work. |
Having Line 392 in eaf6eb8
|
@junegunn : result from gvim --version on cmd : |
What exactly do you mean by this? Can you post a screenshot/screencast of what happens? |
@junegunn : I mean it open a window very fast and then disappear immediately when i try :Files or :FZF. All I can see is a line contain |
A new window or a split window inside GVim? If former, make sure that you have the latest version of the main vim plugin. You should see two files in the output of /Users/jg/.vim/plugged/fzf/plugin/fzf.vim
/Users/jg/.vim/plugged/fzf.vim/plugin/fzf.vim and the former — vim plugin from the main repo — should be identical to https://github.com/junegunn/fzf/blob/master/plugin/fzf.vim. |
By the way, even if you have an older version of vim plugin that does not support |
@junegunn : I have output after run the echo command:
I use native plugin manager so it's not different.
Yes, I don't have any kind of those variables in my bashrc, bash_profile or something similar. |
@janlazo Hi, any idea on this? |
Try It seems cmd.exe ran (No I use |
@janlazo : Yes, |
@tuyenpm9 Do you set any of the global variables mentioned in https://github.com/junegunn/fzf/blob/master/README-VIM.md#configuration? Also, can you check the value of |
@janlazo : No, I don't have any configs, just installed.
Does that check s:exec correctly ? |
In s:fzf_exec, it sets |
I put
Sorry about this, I tested with tagbar and ripgrep plugins, only ripgrep has problem with
The waiting cmd windows as below:
I have to type Either with |
Running this on cmd.exe prompt directly fails too? The shellescaping looks suspicious to me even if Vim does this with Can you give me the link for the ripgrep plugin and show me how fzf interacts with ripgrep (pipe?, stdin via temp file?, etc.)? Edit: |
Have:
and comment out Should we add |
I used vim-ripgrep plugin. and modify rg command that pass some args as shown above. |
I can't reproduce the problem on gvim 8.0.1184 with my vimrc. To recap:
Can you reproduce the problem with a minimal vimrc or " FIXME: https://github.com/vim/vim/issues/1998
if !has('nvim')
call term_wait(t, 20)
endif |
The issue is that I can't keep fzf's window after run Follow your guide, I run
Now I remove |
I get the same error with |
Run this on cmd.exe. gvim.exe -u NONE --cmd "set nocp | set rtp+=~/.fzf | runtime! plugin/fzf.vim" Once gvim is running, try |
Is |
No |
if you unset let $TERM = ''
FZF |
Yes, It does work. Do you have any clues? |
To recap
|
|
I need more info on what parts were updated and how you did the update. |
You can view list updated here |
I've made a clean installation (all components removed) for vim with this installer, latest version is 8.0.1214. Another quick new question: How can I remove line that contain |
I still have double enter to open a file. Weird that if FZF is searching then I can open a file with just 1 enter. |
Are you referring to the window title? The Vim plugin runs fzf runs on a special buffer/split associated with the current buffer (what you see before running
The race condition is still there so you have to bare with the double enter issue until fzf's golang dependencies are updated. |
Please refer this pic about
Hope it will be soon, I moved to fzf. |
|
@janlazo : but how to hide that tab line?, it's not useful and take a lot of space. |
I've just installed fzf under Windows Subsytem Linux (WSL). So I guess I can avoid |
I don't have WSL so I can't help you there. |
How about hide |
I've found a workaround is to disable status bar |
So If we use this proxy to redirect fzf from windows to inside of WSL, the link is here |
Thanks all for your supports. I'll stop working on this. |
Last update about blinking cursor, refer here, quick: open menu --> type |
just re-install git for window , it will automatically set |
This should work in cmd.exe and powershell. where.exe fzf
I use that to install git although I use the zip instead and configure it |
I mean that we can set fzf executable file to proxy |
I'm not sure that fzf can run without a shell yet. But if possible, please add this feature, the only thing that I can't try fzf on my windows is I don't have a shell except cmd.exe.
The text was updated successfully, but these errors were encountered: