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

in Vim8, start fzf in popup window still not work #959

Closed
4 tasks done
doums opened this issue Mar 1, 2020 · 9 comments
Closed
4 tasks done

in Vim8, start fzf in popup window still not work #959

doums opened this issue Mar 1, 2020 · 9 comments

Comments

@doums
Copy link

doums commented Mar 1, 2020

I use VimPlug, in my .vimrc I have the following:

Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim'

...

let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } }

:version
VIM - Vi IMproved 8.2 (2019 Dec 12, compilé Jan 26 2020 11:45:38)
Rustines incluses : 1-148
Compilé par Arch Linux

When I try to open fzf via :Files for example I get the following error and an empty popup window is open.

Error detected while processing function fzf#vim#files[15]..<SNR>83_fzf[18]..fzf#run[58]..<SNR>28_execute_term[3]..<SNR>28
_split[10]..<SNR>28_popup[50]..<SNR>28_create_popup :
ligne    3 :
E278: Cannot put terminal buffer in pop-up window
@junegunn
Copy link
Owner

junegunn commented Mar 1, 2020

Duplicate of #943. You need a newer version of Vim.

@doums
Copy link
Author

doums commented Mar 1, 2020

A newer version of Vim ? I'am already on version 8.2, with feature for popup window enabled.
I don't think this is a problem with my vim version.

@junegunn
Copy link
Owner

junegunn commented Mar 1, 2020

Please read the linked issue.

@doums
Copy link
Author

doums commented Mar 1, 2020

Ok I will wait for Archlinux to update vim then, thank you.

@srijanshetty
Copy link

@doums: Alternatively you could compile vim from source, I was stuck on an older vim version and had to go the compiling from source way to get popup support.

@doums
Copy link
Author

doums commented Mar 2, 2020

@srijanshetty thank for the tip but yup I know.

But I trust Archlinux about their package maintenance, and my current version is not old but recent (compiled Jan 26 2020). It just miss a few latest patches. They will be added soon ;)

@srijanshetty
Copy link

@doums: the beauty of arch 😄, I've given up on Ubuntu keeping packages upto date and hence compile most of my dependencies from source 😢

@dpretet
Copy link

dpretet commented Mar 2, 2020

Personally I moved to Neovim few weeks ago and use its appimage. Pretty good and confortable to avoid this issue and deploy it easily :)

@doums
Copy link
Author

doums commented Mar 2, 2020

AppImage is nice, but not handy. You have to download yourself the new one each time a new release is out which involves to keep an eye on them, plus the fact that you certainly need to create some desktop entry for that AppImage etc..

By the way, Archlinux has updated Vim today @srijanshetty 😄
wait is over

:version
VIM - Vi IMproved 8.2 (2019 Dec 12, compilé Mar  1 2020 17:21:03)
Rustines incluses : 1-343

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

No branches or pull requests

4 participants