12 lines
467 B
VimL
12 lines
467 B
VimL
|
set smartindent
|
||
|
set autoindent
|
||
|
" Tab control
|
||
|
set expandtab " insert spaces rather than tabs for <Tab>
|
||
|
set smarttab " tab respects 'tabstop', 'shiftwidth', and 'softtabstop'
|
||
|
set tabstop=4 " the visible width of tabs
|
||
|
set softtabstop=4 " edit as if the tabs are 4 characters wide
|
||
|
set shiftwidth=4 " number of spaces to use for indent and unindent
|
||
|
set shiftround " round indent to a multiple of 'shiftwidth'
|
||
|
" Show tabs as ">-
|
||
|
set list listchars=tab:>-,trail:.,extends:>
|