Add vim plugged

This commit is contained in:
Ethan Lane 2024-07-07 22:21:42 +01:00
parent 9d0bb02162
commit 16c3df3a78

View file

@ -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'