From 94db3bdd019dfe6bb0718ed94d2f849ca112bcd2 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 19 Mar 2017 19:57:25 +0200 Subject: [PATCH] .vimrc: Set soft tab stop to shiftwidth For more consistent behavior with tab, indent, and delete when pre- ferring spaces over tabs. See: http://vimcasts.org/episodes/tabs-and-spaces/ --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index c103740..e560f53 100644 --- a/.vimrc +++ b/.vimrc @@ -1,5 +1,6 @@ set number " show line numbers set tabstop=4 " number of visual spaces per tab +set softtabstop=4 " number of spaces in tab when editing set shiftwidth=4 " number of spaces in an indent set expandtab " tabs are spaces set backspace=2 " backspace like in a graphical text editor