February 10, 2006

Case-sensitivity in Vim search

Posted in Uncategorized at 7:08 pm by jkit

Thanks to Eugene Kashida, I was informed that when searching in Vim you can force a case-sensity search by appending \C to your search; similarly, if appending \c will force a case-insensitive search. For example:

/FooBar\C will find “FooBar” but not “foobar”

/FooBar\c will find both “FooBar” and “foobar”

1 Comment »

  1. ekashida said,

    Bless his soul.


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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.