Skip to content

Commit

Permalink
Default to two space indents in Vim
Browse files Browse the repository at this point in the history
I seem to be using them everywhere now
  • Loading branch information
robmiller committed Nov 1, 2022
1 parent 8207459 commit 6fc6d4f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vimrc
Expand Up @@ -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

Expand Down

0 comments on commit 6fc6d4f

Please sign in to comment.