Vim case insensitive search

 

By default vim editor is enabled to search case sensitive search.

Example:

/linux

Above example will looks for linux only not Linux or LINUX.

To enable case insensitive search use \c at start/end of your search key word.

Example:

/\clinux

or

/linux\c

Any of above example will ignore case and will search for linux.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s