aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-20 11:16:39 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-20 11:16:39 +0100
commite5bf6eddb57788c7e81d78b86d2d9717f3184f5a (patch)
tree2a02e2a3edc5663b75c3b2b144790a76eea06f0d /vim/vimrc
parentffc5d399d1eda13b3271f0b1b20da019849ac970 (diff)
Ensures we have smartindent on
Diffstat (limited to '')
-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)