diff options
author | clarkzjw <[email protected]> | 2023-01-26 11:31:48 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-26 11:31:48 -0800 |
commit | 0762c34c2bc4c48737926e77732ceeee2fd01ce3 (patch) | |
tree | 65c1525649bb6fc357e72415e419c5a03e34ca43 /dot_vimrc | |
parent | 988ac8f9cced74176695ab7ea04b0f6105c5d492 (diff) | |
download | dotfiles-0762c34c2bc4c48737926e77732ceeee2fd01ce3.tar.gz |
vim: add .vimrc
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 | |||