Add nvim git plugins
This commit is contained in:
parent
e00aa68640
commit
8c205d78cc
|
@ -3,12 +3,15 @@ cmap w!! w !sudo tee > /dev/null %
|
|||
set number relativenumber
|
||||
set clipboard+=unnamedplus
|
||||
|
||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
||||
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
|
||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||
endif
|
||||
|
||||
call plug#begin()
|
||||
Plug 'psliwka/vim-smoothie'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
call plug#end()
|
||||
|
|
Loading…
Reference in New Issue