Wednesday, August 6, 2008

vi case insensitive search

I have looked for this many times and have just now found it. In order to do a one-off case insensitive search, start your search with \c. For example, to finf Shortcut and shortcut

/\cshortcut

will match both. More documentation can be found with :help. Chapter 7 Ignoring case in a pattern

No comments: