Add vim plugged
This commit is contained in:
parent
9d0bb02162
commit
16c3df3a78
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ filetype plugin on
|
|||
set cursorline
|
||||
set ttyfast
|
||||
|
||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||
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'
|
||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||
endif
|
||||
|
||||
call plug#begin("~/.vim/plugged")
|
||||
Plug 'dracula/vim'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
|
|
Loading…
Reference in a new issue