From 3e7a4837ade57a8911a052ad69aa86fb4a8b6bb7 Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Mon, 23 Sep 2019 09:54:20 +0200 Subject: [PATCH] manage tabs as spaces, auto-indent on --- dot_vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dot_vimrc b/dot_vimrc index 4516962..94042e1 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -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