Questions tagged [plugin-fzf]

Question about plugin fzf which provides fuzzy file and buffer browsing based of fzf.

See the project home page for more details on the features of the plugin.

47 questions
6
votes
2 answers

VIM FZF, searching multiple directories

Using FZF in Vim, is it possible to search project directory and a library directory? For example when executing FZF, it would search directories: ~/project/ and ~/libs/include, and provide results.
user1135541
  • 1,103
  • 8
  • 22
2
votes
3 answers

Insert filepath from FZF window in buffer

In the fzf plugin you can define mappings for the fzf window to open the selected file in a vertical split, etc. How can I make fzf mapping to insert the path of the selected file as a string into the current buffer? I want to use this mapping…
Andreas
  • 357
  • 2
  • 10
2
votes
2 answers

Can I set the default search directory on fzf?

I set the following on my ~/.vimrc which sets the current directory to the location of the file on the buffer. au BufEnter * silent! :lcd%:p:h However, when I run the fzf command to search for a file, then the search starts on the current…
Blaszard
  • 545
  • 1
  • 9
  • 27
1
vote
1 answer

Tracking down odd behavior right after opening Vim and using fuzzy finder

When I open Vim for the first time and go to search using ctrl+p fzf then start typing my search it gets prepended with the following text: 12;4$y This means if I have typed searching it will become 12;4$ysearching. This only happens when I first…
Shadoath
  • 258
  • 3
  • 10
0
votes
1 answer

Context aware fzf command

I would like to have a file extension aware :FZF command, so that when I choose a file with enter from the fzf prompt, and that file has an extension that matches a list (say (pdf|mp3|jpg)), it opens the file with some external bash command (say…
Andreas
  • 357
  • 2
  • 10