diff --git a/templates/.vimrc b/templates/.vimrc new file mode 100644 index 0000000..bd9e8a8 --- /dev/null +++ b/templates/.vimrc @@ -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 +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