Add nvim git plugins

This commit is contained in:
xerus 2020-03-31 22:34:56 +02:00
parent e00aa68640
commit 8c205d78cc
1 changed files with 5 additions and 2 deletions

View File

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