aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-04-25 22:36:08 -0400
committerTeddy Wing2014-04-25 22:36:08 -0400
commit8c39d46cdf7d0e239de8876a6bd8cffb703cd188 (patch)
tree5a7f1169e28c325905c45dc1797c551c186285b2
parent0a8b39634bc8588b9be53528a286d1b1088f5480 (diff)
downloaddotvim-8c39d46cdf7d0e239de8876a6bd8cffb703cd188.tar.bz2
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.
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 35aaf17..d45adbe 100644
--- a/vimrc
+++ b/vimrc
@@ -82,6 +82,7 @@
" 2014.04.25:
" * Map <leader>/ 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 <leader>bl and <leader>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