![]() ![]() bang -nargs Rg call fzfvimgrep(rg -column -line-number -no-heading -coloralways. However I just came across fzf, and its installation instructions require that I use vim-plug. 19. FZF and Ripgrep: fuzzy find files infuriatingly fast. Environment (BPD & a Persons Surroundings) Research shows that. You may have noticed it's not exactly fuzzy search meaning that I need to use spaces. How to install fzf.vim with Vundle Ask Question Asked 5 years, 7 months ago Modified 5 years, 7 months ago Viewed 6k times 3 I use Vundle to manage my vim plugins. See the installation instructions here: Īfter you have installed both fzf and fzf.vim, you can use :BLines to search lines in the current buffer: Nnoremap :Unite -buffer-name=search -start-insert lineīy the way, unite can also do fuzzy file search by name.Īnother way to do line search is to use fzf along with accompanying vim plugin. In order to do fuzzy line search you need to slightly tune unite: call unite#filters#matcher_default#use()Ĭall unite#filters#sorter_default#use()Ĭall unite#custom#source('file,file/new,buffer,file_rec,line', 'matchers', 'matcher_fuzzy') Type your fuzzy string now:Īn alternative solution that I'm currently using myself would be to use unite. fzf is a general-purpose command-line fuzzy finder. Let g:ctrlp_extensions = Īfter that you press Ctrl-p to bring menu, then press Ctrl-f several times until the line mode is on. ![]() You need to enable the extension manually. There is "line" extension in the latest Ctrl-P plugin for vim ( ctrlp) which can do fuzzy line search. 4 this is the default mapping of up and down in fzf: down : ctrl-j ctrl-n down up : ctrl-k ctrl-p up Most people don't have problem with this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |