From 0762c34c2bc4c48737926e77732ceeee2fd01ce3 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 26 Jan 2023 11:31:48 -0800 Subject: vim: add .vimrc --- dot_vimrc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dot_vimrc (limited to 'dot_vimrc') diff --git a/dot_vimrc b/dot_vimrc new file mode 100644 index 0000000..38cf2b0 --- /dev/null +++ b/dot_vimrc @@ -0,0 +1,26 @@ +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 + +""""""""""""""""""""""""""""""""" +" Vim-Plug +call plug#begin('~/.vim/plugged') + +" Syntax +Plug 'scrooloose/syntastic' + +" Theme +Plug 'tomasr/molokai' + +" Misc +Plug 'jiangmiao/auto-pairs' +Plug 'Yggdroot/indentLine' +Plug 'kien/rainbow_parentheses.vim' +Plug 'bronson/vim-trailing-whitespace' + +call plug#end() +""""""""""""""""""""""""""""""""" +set tabstop=4 + -- cgit v1.2.3