Add config for vim
This commit is contained in:
parent
58db5caddb
commit
5272184643
|
@ -0,0 +1,13 @@
|
|||
filetype plugin indent on
|
||||
" show existing tab with 4 spaces width
|
||||
set tabstop=4
|
||||
" when indenting with '>', use 4 spaces width
|
||||
set shiftwidth=4
|
||||
" On pressing tab, insert 4 spaces
|
||||
set expandtab
|
||||
set autoindent
|
||||
set smartindent
|
||||
let &t_SI = "\<Esc>[6 q"
|
||||
let &t_SR = "\<Esc>[4 q"
|
||||
let &t_EI = "\<Esc>[2 q"
|
||||
inoremap { {<CR>}<Esc>ko
|
Loading…
Reference in New Issue