Add vimrc

This commit is contained in:
Adam Gausmann 2019-01-30 01:07:30 -06:00
parent a33d6550a0
commit 915201e650

26
templates/.vimrc Normal file
View file

@ -0,0 +1,26 @@
" appearance
syntax enable
set cursorline
set number
set showcmd
set showmatch
set wildmenu
" behavior
noremap j gj
noremap k gk
inoremap jk <esc>
set hlsearch
set incsearch
set lazyredraw
set directory=~/.vim/tmp
" indentation
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
filetype indent on
" custom file types
autocmd FileType yaml,yml setlocal tabstop=2 softtabstop=2 shiftwidth=2