From 2af28d877a4dea897bcff3f5e6c502cbc0aa9ea8 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 18 Sep 2017 23:09:23 +0100 Subject: [PATCH] better indentation settings --- vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 7886faf..052bcd5 100644 --- a/vimrc +++ b/vimrc @@ -237,10 +237,12 @@ set foldmethod=manual syntax on " tabs -set tabstop=2 -set softtabstop=2 -set shiftwidth=0 "use tabstop value +"set tabstop=2 " leave at default +set expandtab " tab inserts 'softtabstop' number of spaces +set softtabstop=2 " +set shiftwidth=2 " affects what happens with >>,<<,== and automatic indentation set mouse=a +filetype plugin indent on " file type based indentation " rewrapping set to 80 set tw=180