From 6fc6d4fa60c5fa72736d71f1c3acec58bf8674eb Mon Sep 17 00:00:00 2001 From: Rob Miller Date: Tue, 1 Nov 2022 14:16:01 +0000 Subject: [PATCH] Default to two space indents in Vim I seem to be using them everywhere now --- vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 3ea23f1..0ede1de 100644 --- a/vimrc +++ b/vimrc @@ -20,12 +20,14 @@ set t_Co=256 " Pathogen is the nicest way to load plugins call pathogen#infect() -" Tabs are four spaces wide +" Tabs are two spaces wide set tabstop=2 +" When indenting, indent by two spaces +set shiftwidth=2 +" Tabs are spaces +set expandtab " Newlines should start at the same level as the line above set autoindent -" When indenting, indent by four spaces -set shiftwidth=2 " Always indent to a multiple of shiftwidth set shiftround