diff options
Diffstat (limited to 'dot_vimrc')
-rw-r--r-- | dot_vimrc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dot_vimrc b/dot_vimrc new file mode 100644 index 0000000..38cf2b0 --- /dev/null +++ b/dot_vimrc | |||
@@ -0,0 +1,26 @@ | |||
1 | let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim' | ||
2 | if empty(glob(data_dir . '/autoload/plug.vim')) | ||
3 | silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | ||
4 | autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | ||
5 | endif | ||
6 | |||
7 | """"""""""""""""""""""""""""""""" | ||
8 | " Vim-Plug | ||
9 | call plug#begin('~/.vim/plugged') | ||
10 | |||
11 | " Syntax | ||
12 | Plug 'scrooloose/syntastic' | ||
13 | |||
14 | " Theme | ||
15 | Plug 'tomasr/molokai' | ||
16 | |||
17 | " Misc | ||
18 | Plug 'jiangmiao/auto-pairs' | ||
19 | Plug 'Yggdroot/indentLine' | ||
20 | Plug 'kien/rainbow_parentheses.vim' | ||
21 | Plug 'bronson/vim-trailing-whitespace' | ||
22 | |||
23 | call plug#end() | ||
24 | """"""""""""""""""""""""""""""""" | ||
25 | set tabstop=4 | ||
26 | |||