manage tabs as spaces, auto-indent on

This commit is contained in:
Morgan Wattiez 2019-09-23 09:54:20 +02:00
parent 126ffd4155
commit 3e7a4837ad

View File

@ -81,6 +81,14 @@ set title
" Start scrolling three lines before the horizontal window border
set scrolloff=3
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
" Default colors for highlighting search result
hi Search ctermfg=White
hi Search ctermbg=DarkMagenta