junegunn / junegunn/fzf.vim

Value of FZF_DEFAULT_COMMAND appearing in File List

Open
#801 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- Category
- [ ] Question
- [x] Bug
- [ ] Suggestion
- OS
- [ ] Linux
- [x] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [x] Vim
- [x] Neovim

Hi,

I am having an issue with fzf.vim in neovim. For some reason, what looks like the value of an old `FZF_DEFAULT_COMMAND` variable is being printed out as part of the file listing.

Screenshot 2019-04-23 at 09 00 18

I say old value as my default command in my `.vimrc` currently looks like this:

```
"""
" FZF
"""
let $FZF_DEFAULT_COMMAND='rg --files --smart-case'
nnoremap :Files
```

and my zshrc currently looks like this

```
# Set fzf command to use rg
export FZF_DEFAULT_COMMAND='rg --files --no-ignore-vcs --hidden'
```

I have tried uninstalling and reinstalling the plugin and FZF from my system and restarting the computer and it doesn't seem to make a difference. The problem persists across NeoVim, Vim and Vim with a minimal config (as suggested above).

It is also worth noting that this doesn't happen when you run fzf outside of vim.

Any idea what might be happening?

Thanks,

Tom

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.