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

FZF + Neovim + tmux hiding neovim content while searching #1506

Open
4 of 15 tasks
vinioliveira opened this issue Feb 15, 2019 · 3 comments
Open
4 of 15 tasks

FZF + Neovim + tmux hiding neovim content while searching #1506

vinioliveira opened this issue Feb 15, 2019 · 3 comments
Labels

Comments

@vinioliveira
Copy link

vinioliveira commented Feb 15, 2019

  • Category
    • fzf binary
    • fzf-tmux script
    • Key bindings
    • Completion
    • Vim
    • Neovim
    • Etc.
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Windows Subsystem for Linux
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

So I'm not quite sure if it's a neovim or fzf issue hope you guys can help me on this, I am running into a very annoying issue, for some reason, anytime I run FZF from neovim with let g:fzf_prefer_tmux set as 1 it seems that neovim gets suspended, and blocks all the content of the file opened at the moment, I know it might seems a very silly problem but sometimes I'd like to search something based on an info within the file I'm editing. Here's how it looks like.

screen recording 2019-02-15 at 09 09 am

this very simple setup is able to reproduce this issue

" init.vim
call plug#begin('~/.vim/plugged')

Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'

call plug#end()

let g:fzf_prefer_tmux = 1

NVM: 0.3.4
FZF: 0.17.5
TMUX: 2.8

Thanks in advanvance.

@junegunn
Copy link
Owner

Yeah, it's a known issue on Neovim, but I'm not aware of a way to fix it. You can easily reproduce the case using the following command:

" Hides the upper window if run on Neovim, but not on regular Vim
:call system('echo foo | fzf-tmux')

@denisinla
Copy link

denisinla commented Apr 22, 2019

My money is on tmux being the issue. If I have tmux disabled then run fzf in neovim it runs without a hitch.

@alvarosevilla95
Copy link

This is still an issue. Is this related to how neovim launches fzf through the built in terminal instead of as an external command like in regular vim?

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

No branches or pull requests

4 participants