Add relevant plugins or mappings before or after plugins.
set nocompatible hidden laststatus=2
""""""""""""""""""""""""""""""""""
" PUT HERE YOUR MAPPINGS
""""""""""""""""""""""""""""""""""
" this loads vim-plug
if !filereadable('/tmp/plug.vim')
silent !curl --insecure -fLo /tmp/plug.vim
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
source /tmp/plug.vim
call plug#begin('/tmp/plugged')
""""""""""""""""""""""""""""""""""
" PUT HERE YOUR PLUGINS, HERE'S A COUPLE EXAMPLES:
""""""""""""""""""""""""""""""""""
Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim'
" end of plugins
call plug#end()
" download and install plugins
autocmd VimEnter * PlugClean! | PlugUpdate --sync
""""""""""""""""""""""""""""""""""
" PUT HERE MAPPINGS DEPENDANT ON PLUGINS
""""""""""""""""""""""""""""""""""
This will load vim ignoring your global .vimrc
vim -Nu tmpvimrc
You can share it to help others reproduce your problem.
-
Add the result of
:version
command -
Share your
tmpvimrc
with others, here's some useful sites: