MAINT: reboot vimrc

This commit is contained in:
Matthew Ryan Dillon 2020-07-26 20:44:48 -07:00
parent 6368c7f1a6
commit 42906e0b5d
3 changed files with 27 additions and 0 deletions

View file

@ -21,10 +21,14 @@ $ nix-env -i \
reattach-to-user-namespace \
silver-searcher \
tmux \
universal-ctags \
vim \
wget \
xz
$ base16_ashes
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$ code --install-extension AndrsDC.base16-themes
$ code --install-extension ecmel.vscode-html-css
$ code --install-extension formulahendry.auto-close-tag

View file

@ -17,6 +17,7 @@
~/.gitignore_global: git/gitignore_global
~/.npmrc: npmrc
~/.psqlrc: psqlrc
~/.vimrc: vimrc
~/.zpreztorc: zsh/zpreztorc
~/.zlogin: zsh/zlogin
~/.zlogout: zsh/zlogout

22
vimrc Normal file
View file

@ -0,0 +1,22 @@
" filetype support provides filetype-specific indenting, syntax highlighting,
" omni-completion and other useful settings.
filetype plugin indent on
syntax on
" built-in plugin, `%` to jump to condition branch
runtime macros/matchit.vim
set autoindent
set backspace=indent,eol,start
set hidden " have more than one unsaved buffer
set incsearch
set ruler " show position in bottom-right
set wildmenu
call plug#begin('~/.vim/plugged')
Plug 'sheerun/vim-polyglot'
Plug 'ludovicchabant/vim-gutentags'
call plug#end()
let g:gutentags_cache_dir = '~/.gutentags_cache'