Add Windows vimrc

This commit is contained in:
2019-06-29 22:02:39 +03:00
parent 834aa4e85a
commit 9f7725e1ed

23
other/_vimrc Normal file
View File

@@ -0,0 +1,23 @@
set number
syntax on
" stop making many '*~' files
set backup
set dir=%TMP%
set backupdir=%TMP%
set directory=%TMP%
set noundofile
" 4 spaces for indentation
set tabstop=4
set shiftwidth=4
set expandtab
" autoclose
inoremap " ""<left>
inoremap ' ''<left>
inoremap ( ()<left>
inoremap [ []<left>
inoremap { {}<left>
inoremap {<CR> {<CR>}<ESC>O
inoremap {;<CR> {<CR>};<ESC>O