-
Notifications
You must be signed in to change notification settings - Fork 5
PracticalVim Tip72
Shuai YUAN edited this page May 29, 2015
·
1 revision
- enabling the 'ignorecase' setting.
- `\c`: ignore case
- `\C`: force case sensitivity
- enabling the 'smartcase' option.
Example: | Pattern | 'ignorecase' | 'smartcase' | Matches | | foo | off | - | foo | | foo | on | - | foo Foo FOO | | foo | on | on | foo Foo FOO | | Foo | on | on | Foo | | Foo | on | off | foo Foo FOO | | \cfoo | - | - | foo Foo FOO | | foo\C | - | - | foo |