junegunn / junegunn/fzf.vim

":FZF -q [Directory]" not working in vim

Open
#1,271 0 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

- [x] I have fzf 0.23.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

---

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

## How to reproduce
*(Tested on fresh new installed Virtual Machine)*
### .vimrc

call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
call plug#end()

1. Install vim, add FZF plugins with vim-plug
2. Go to a directory
3. `mkdir FolderName`
4. Enter vim with the folder in the same directory as the starting point
5. type `:FZF -q FolderName`

## The error
Using the folder "Documents" as an example inside home directory, fzf outputs this:

0/0 (0)
Documents/--expected=ctrl-v,ctrl-x,ctrl-t

![vim_bug2](https://user-images.githubusercontent.com/8147434/113650224-23804d00-9690-11eb-86b6-02fd9a26893b.gif)

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.