From 068bc6e3c1bcf07d0c0dc060c7d810893e374649 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 24 Oct 2020 13:54:34 +0100 Subject: [PATCH] VIM: Sets ignore case and smart case This means vim will search case insensitively until a capital letter is inserted --- nvim/.config/nvim/plugin/settings.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/.config/nvim/plugin/settings.vim b/nvim/.config/nvim/plugin/settings.vim index 81ef3947..27dd5649 100644 --- a/nvim/.config/nvim/plugin/settings.vim +++ b/nvim/.config/nvim/plugin/settings.vim @@ -20,6 +20,11 @@ set number " Allows vim to background buffers without saving 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 set scrolloff=5