nvim: Add fzf

The only reason fzf.vim functioned till now seems to be due to the fact
that we were loading fzf.vim found in /usr/share/vim/vimfiles. Do not
rely on this and specify it in plugins.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-05-29 16:20:16 +05:30
parent dc895fe1ee
commit 4aa66a5e59
2 changed files with 5 additions and 0 deletions

View file

@ -78,6 +78,10 @@ set wildignore+=*.msi,*.crx,*.deb,*.vfd,*.apk,*.ipa,*.bin,*.msu
set wildignore+=*.gba,*.sfc,*.078,*.nds,*.smd,*.smc
set wildignore+=*.linux2,*.win32,*.darwin,*.freebsd,*.linux,*.android
" We do this to prevent the loading of the system fzf.vim plugin. This is
" present at least on Arch/Manjaro
set rtp-=/usr/share/vim/vimfiles
" Disable providers we do not give a shit about
let g:loaded_python3_provider = 0
let g:loaded_python_provider = 0

View file

@ -6,6 +6,7 @@ Plug 'ervandew/supertab'
Plug 'haya14busa/incsearch.vim'
Plug 'justinmk/vim-sneak'
" Fuzzy search
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
" Remove extraneous whitespace when edit mode is exited
Plug 'axelf4/vim-strip-trailing-whitespace'