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:
parent
dc895fe1ee
commit
4aa66a5e59
2 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,10 @@ set wildignore+=*.msi,*.crx,*.deb,*.vfd,*.apk,*.ipa,*.bin,*.msu
|
||||||
set wildignore+=*.gba,*.sfc,*.078,*.nds,*.smd,*.smc
|
set wildignore+=*.gba,*.sfc,*.078,*.nds,*.smd,*.smc
|
||||||
set wildignore+=*.linux2,*.win32,*.darwin,*.freebsd,*.linux,*.android
|
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
|
" Disable providers we do not give a shit about
|
||||||
let g:loaded_python3_provider = 0
|
let g:loaded_python3_provider = 0
|
||||||
let g:loaded_python_provider = 0
|
let g:loaded_python_provider = 0
|
||||||
|
|
|
@ -6,6 +6,7 @@ Plug 'ervandew/supertab'
|
||||||
Plug 'haya14busa/incsearch.vim'
|
Plug 'haya14busa/incsearch.vim'
|
||||||
Plug 'justinmk/vim-sneak'
|
Plug 'justinmk/vim-sneak'
|
||||||
" Fuzzy search
|
" Fuzzy search
|
||||||
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
" Remove extraneous whitespace when edit mode is exited
|
" Remove extraneous whitespace when edit mode is exited
|
||||||
Plug 'axelf4/vim-strip-trailing-whitespace'
|
Plug 'axelf4/vim-strip-trailing-whitespace'
|
||||||
|
|
Loading…
Reference in a new issue