Wednesday, June 25, 2008

Case Insensitive search in vi/vim

Just got a tip for turning on/off case insensitive search in vi/vim:
To search in case insensitive mode, in command mode:
:set ignorecase
OR
:set ic

To go back to case sensitive search, which is the default:
:set noignorcase



Got this tip from:
http://www.tech-recipes.com/unix_tips406.html

No comments: