Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-fzf]

The tag has no usage guidance.

1
vote
0answers
38 views

Neovim freezes with FZF

I currently use 'junegunn/fzf.vim', along with the homebrew version of fzf in the command line to search within projects. My setup uses Neovim and Tmux, and I'm getting intermittent freezing when ...
1
vote
1answer
61 views

How to remove entries from v:oldfiles list in neovim

I renamed a big folder that contains a lot of files I recently edited. After changing the name, my neovim's v:oldfiles list contains the old names that is no longer accessible. How can I clean the ...
0
votes
0answers
28 views

Sublime Text *like* project handling

Sublime Text has the concept of projects which map to a folder. When you search for a file or search for text within files, sublime presents the following search form: Find: Hello World Where: <...
0
votes
1answer
65 views

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 ...
0
votes
1answer
74 views

How can I change the cursor moving on fzf?

Similar to the question about ctrlp, I would like to know how to change the key remapping to move the cursor on fzf library. Right now, only the ctrl + k works to move the cursor upward, but all the ...
0
votes
1answer
116 views

How can I pass extra flags to FZF/ripgrep commands with the leader key?

Current functionality When I use <C-P> and <C-Å> I can respectively search file names and contents. Everything works great. Target functionality When prepending either with <leader&...
0
votes
1answer
34 views

How to add a fallback when :b buffer change fails

I have 2 ways to open a file for editing: :b <filename> to switch to an opened buffer -- imagine that I have a lot of folders containing index.html so by using :b I know I am working on the one ...
0
votes
1answer
52 views

Contextual key bindings when a specific context menu is open

I recently installed fzf CLI fuzzy search utility, and the accompanying fzf.vim file with it. They both work great, and I have been enjoying my experience with them thus far. However, I'd like to ...
0
votes
0answers
148 views

fzf.vim Tags - windows

For the life of me, I can't get fzf working with ctags. Have fzf and fzf.vim installed - both working, for example, with :Files Windows 10 Typing :Tags opens %USERPROFILE%\vimfiles\bundle\fzf.vim\bin\...
3
votes
1answer
363 views

How to call the fzf Ag command with multiple arguments?

The plugin fzf.vim defines the following vim command here: command! -bang -nargs=* Ag call fzf#vim#ag(<q-args>, <bang>0)' the fzt#vim#ag function seems to allow passing all the ag ...
0
votes
0answers
33 views

Why does some plugins open new files from ~/ rather than project's root?

I realise this a bit broad question and apologise in advance: 1) When I use rails.vim's :A or similar commands, it sometimes takes me to the ~/user/company-name/project-repo/spec/services/...
3
votes
1answer
427 views

How to exclude filenames from Ag search (via fzf.vim)?

I'm using (the fantastic) Ag, Silver Searcher, through (the fantastic) fzf.vim plugin. When I search for text, though, I don't want to see matches on file names. For example, :Ag finder shows every ...
3
votes
1answer
478 views

Toggle fzf.vim if already open

I am trying to write a vim function to toggle the fzf window if it is already open using fzf.vim. The use case is if I am in the :Buffers view and I want to change to the :Files view if I try to ...
3
votes
2answers
612 views

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.