aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0354866..e0583fa 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -152,6 +152,8 @@ set fileformats=unix,dos,mac
set nohlsearch "highlights searches
set incsearch "incremental search (searches character by character)
set ignorecase "ignores the case of a search
+set smartindent
+set autoindent
set smartcase "only ignores case if there are no capital letters in search (only works after ignorecase has been set)
set tabstop=4 "the amount of spaces that vim will equate to a tab character
set softtabstop=4 "like tabstop, but for editing operations (insert mode)