-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvimrc.plugins
More file actions
26 lines (19 loc) · 846 Bytes
/
vimrc.plugins
File metadata and controls
26 lines (19 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
filetype off
if !filereadable(expand("~/.vim/autoload/plug.vim"))
echo "Installing vim-plug and plugins. Restart vim after finishing the process."
silent call mkdir(expand("~/.vim/autoload", 1), 'p')
execute "!curl -fLo ".expand("~/.vim/autoload/plug.vim", 1)." https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
autocmd VimEnter * PlugInstall
endif
call plug#begin('~/.vim/plugged')
let g:plug_url_format = 'https://github.com/%s.git'
let g:plug_timeout = 300
source ~/.vim/settings/plugins/apperances.plugins
source ~/.vim/settings/plugins/languages.plugins
source ~/.vim/settings/plugins/autocomplete.plugins
source ~/.vim/settings/plugins/tools.plugins
if filereadable(expand("~/.vim/settings/plugins/local.plugins"))
source ~/.vim/settings/plugins/local.plugins
endif
call plug#end()
filetype plugin indent on