From e5bf6eddb57788c7e81d78b86d2d9717f3184f5a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 20 Apr 2023 11:16:39 +0100 Subject: Ensures we have smartindent on --- vim/vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vim') 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) -- cgit v1.2.3