diff options
-rw-r--r-- | dot_vimrc | 26 | ||||
-rw-r--r-- | dot_zshrc | 2 |
2 files changed, 28 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 | |||
@@ -140,5 +140,7 @@ alias m="make -j`nproc --all`" | |||
140 | alias t="xfce4-terminal" | 140 | alias t="xfce4-terminal" |
141 | alias chez="/usr/bin/chezmoi" | 141 | alias chez="/usr/bin/chezmoi" |
142 | alias xc="xclip -selection clip" | 142 | alias xc="xclip -selection clip" |
143 | alias ledger="vim ~/Documents/code/Ledger/year/`date +%Y`/`date +%Y%m`.beancount" | ||
144 | alias vimrc="vim ~/.vimrc" | ||
143 | 145 | ||
144 | eval "$(lua /home/clarkzjw/Documents/code/z.lua/z.lua --init zsh)" | 146 | eval "$(lua /home/clarkzjw/Documents/code/z.lua/z.lua --init zsh)" |