Browse Source

Minor updates to plug

master
Ryan Reed 10 months ago
parent
commit
f5daaeae32
1 changed files with 16 additions and 11 deletions
  1. +16
    -11
      dot_config/vim/vimrc

+ 16
- 11
dot_config/vim/vimrc View File

@ -60,21 +60,26 @@
let data_dir = '$XDG_CONFIG_HOME/vim'
let plug_dir = data_dir . '/plugged'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
silent execute '!curl -fsSLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" Load Plugins
call plug#begin(plug_dir)
Plug 'morhetz/gruvbox'
Plug 'itchyny/lightline.vim'
Plug 'preservim/nerdcommenter'
Plug 'scrooloose/nerdtree'
Plug 'vim-python/python-syntax'
Plug 'godlygeek/tabular'
Plug 'mzlogin/vim-markdown-toc'
Plug 'tpope/vim-surround'
call plug#end()
silent! if plug#begin(plug_dir)
Plug 'morhetz/gruvbox'
Plug 'itchyny/lightline.vim'
Plug 'preservim/nerdcommenter'
Plug 'scrooloose/nerdtree'
Plug 'vim-python/python-syntax'
Plug 'godlygeek/tabular'
Plug 'mzlogin/vim-markdown-toc'
Plug 'tpope/vim-surround'
" if v:version >= 703
" endif
"
call plug#end()
endif
" Plugin - lightline
if isdirectory(expand(plug_dir . '/lightline.vim'))


Loading…
Cancel
Save