VIM: Sets ignore case and smart case

This means vim will search case insensitively until a capital letter is
inserted
This commit is contained in:
Jonathan Hodgson 2020-10-24 13:54:34 +01:00
parent 22adb0a397
commit 068bc6e3c1

View file

@ -20,6 +20,11 @@ set number
" Allows vim to background buffers without saving " Allows vim to background buffers without saving
set hidden set hidden
" Sets vim to smart case
" If search is all lowercase, search insensitively; if you include a capital
" it becomes a case sensitive match
set ignorecase smartcase
" Makes vim try to keep 5 lines visible at the top and bottom " Makes vim try to keep 5 lines visible at the top and bottom
set scrolloff=5 set scrolloff=5