I often search for words only to find that my search was flawed because I didn’t know that one of the letters in the word was capitalized. Using two very cool settings in your .vimrc file in tandem, this problem can go away. Don’t you wish VIM could effect other things in life the same way?
:set ignorecase or :set ic
:set smartcase
With these two options set, you can search I can search for word in:
word
Word
WOrD
WORD
and it will match all of the above, ie. it is not case sensative. BUT if I search for Word it will only match “Word”, ie case sensative. Neat Huh?
You can add :set incsearch ( set: is) which will do a “live” search, matching as you type.




Recent Comments