Questions tagged [fzf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

fzf.vim how to configure the maximum amount of files stored in recent files history?

Just like the title states. I've read through the readme at https://github.com/junegunn/fzf.vim but can't seem to see anything mention about this. I've even tried to search the repo for max which only ...
1
vote
0answers
19 views

Using fzf inside vim with double star completion

I wonder if it is possible to use fzf inside vim the same way it can be used on the command line. So, on the command line I can do vim file** and it will use fzf to search 'file'. I wonder if this is ...
0
votes
1answer
36 views

Open FZF in current directory of file I am viewing

Often I am in some 'general' directory when I open files, such as ~ or Desktop. FZF by default opens the user's pwd, for example, if I have: Desktop $ vim ~/.vim/vimrc And I do: :FZF It will ...
2
votes
2answers
70 views

FZF showing error on preview

I have fuzzy file finder (FZF) set up and working: And when I do :History it also shows a preview of the file: I've been able to do a find with passing an "empty" preview to it: :FZF --preview 'cat'...
2
votes
1answer
76 views

How can I get a path with fzf.vim and use to insert a snippet?

I am trying to create a macro which reproduces the behaviour of CtrlP as in this webpage: https://www.edwinwenink.xyz/posts/48-vim_fast_creating_and_linking_notes/. However, even if fzf can easily ...
1
vote
1answer
34 views

Is it normal that I can't erase an input to FZF?

I am using the FZF vim plugin and when I open it using :FZF<cr> it then shows me the prompt to input what I want to search for. If I type something and then press backspace to erase (For example ...
1
vote
1answer
28 views

How do I setup a command to use the “in word” as an argument

I would like to set up vim-fzf to do git grep/rg/ag/whatever on the word my cursor is over. With vim-grepper I was able to do gsiw for this and it was fantastic. With fzf I can't seem to figure out ...
0
votes
0answers
19 views

FZF Immediately Gives me the Dreaded Bell When first Tyring to use it

Not sure why but if I open vim, and try and use FZF, I get a bell noise when using my mappings for it. Doing :FZF will work just fine, but I have a mapping nnoremap <leader>ff :FZF<cr> And ...
2
votes
1answer
98 views

How can I decide whether a file can be opened in VIm or not?

I want to make a script with FZF (Fuzzy Finder) and I want to show only those file which can be opened with VIM. So, I don't want to list mp4, jpg, pdf etc files in FZF. So, is there any way to ...
0
votes
1answer
123 views

fzf vim - when configured to display filenames of matched items, how to filter on just content and not the file names

I've configured my .vimrc file for GGrep: command! -bang -nargs=* GGrep \ call fzf#vim#grep( \ ('git grep -i --line-number '.(isdirectory(expand(".git"))?'--untracked ':'--no-index '))....
0
votes
1answer
40 views

Is there an fzf for finding an open tab?

I would like to be able to open up vim foo.md foo.css foo.html foo.ts And either be able to run :Tab md or the like and jump to the foo.md tag. Is it possible to get this kind of functionality ...