From 8c39d46cdf7d0e239de8876a6bd8cffb703cd188 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 25 Apr 2014 22:36:08 -0400 Subject: vimrc: set `ignorecase` and `smartcase` So I don't have to keep typing '\c' all the time when I'm searching for something. Also, `smartcase`, an option I just found out about, allows us to have case sensitivity if we enter uppercase. --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 35aaf17..d45adbe 100644 --- a/vimrc +++ b/vimrc @@ -82,6 +82,7 @@ " 2014.04.25: " * Map / to clear search highlighting " * Map gj -> j and gk -> k so we can still skip wrapped lines if we want +" * Set ignorecase and smartcase " @@ -128,6 +129,9 @@ set timeoutlen=500 " If bl and b are both mapped, wait 0.5 set grepprg=ack " Use ack instead of grep +set ignorecase " Case insensitive +set smartcase " Case insensitive unless an uppercase character is entered + set laststatus=2 " Always show the status line " Statusline -- cgit v1.2.3