Friday, June 29th, 2007...10:04 am
One Time Case Insensitive Vim Search
Jump to Comments
Everyone knows you can type
:set ic to ignore case in vim, however sometimes you want to do a case insensitive search on a ‘case by case’ basis, no pun intended.
to do that you’d type
/\csearchstring
That way you don’t have to go insenstive for your whole session.







1 Comment
June 29th, 2007 at 12:09 pm
try “:help smartcase” in vim…
You get the base of both worlds.. IgnoreCase for everything by default, but if you put caps in your search string, vim assumes you meant case sensitive..
Leave a Reply