Add Windows vimrc
This commit is contained in:
23
other/_vimrc
Normal file
23
other/_vimrc
Normal 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
|
||||
Reference in New Issue
Block a user