aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-01-26 11:31:48 -0800
committerclarkzjw <[email protected]>2023-01-26 11:31:48 -0800
commit0762c34c2bc4c48737926e77732ceeee2fd01ce3 (patch)
tree65c1525649bb6fc357e72415e419c5a03e34ca43 /dot_vimrc
parent988ac8f9cced74176695ab7ea04b0f6105c5d492 (diff)
downloaddotfiles-0762c34c2bc4c48737926e77732ceeee2fd01ce3.tar.gz
vim: add .vimrc
Diffstat (limited to 'dot_vimrc')
-rw-r--r--dot_vimrc26
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 @@
1let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
2if 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
5endif
6
7"""""""""""""""""""""""""""""""""
8" Vim-Plug
9call plug#begin('~/.vim/plugged')
10
11" Syntax
12Plug 'scrooloose/syntastic'
13
14" Theme
15Plug 'tomasr/molokai'
16
17" Misc
18Plug 'jiangmiao/auto-pairs'
19Plug 'Yggdroot/indentLine'
20Plug 'kien/rainbow_parentheses.vim'
21Plug 'bronson/vim-trailing-whitespace'
22
23call plug#end()
24"""""""""""""""""""""""""""""""""
25set tabstop=4
26
Powered by cgit v1.2.3 (git 2.41.0)