| /word | Search “word” from top to bottom |
| ?word | Search “word” from bottom to top |
| /jo[ha]n | Search “john” or “joan” |
| /\<> | Search “the”, “theatre” or “then” |
| /the\> | Search “the” or “breathe” |
| /\<> | Search “the” |
| /\< ….\> | Search all words of 4 letters |
| /\/ | Search “fred” but not “alfred” or “frederick” |
| /fred\|joe | Search “fred” or “joe” |
| /\<\d\d\d\d\> | Search exactly 4 digits |
| /^\n\{3} | Find 3 empty lines |
| :bufdo /searchstr/ | Search in all open files |
Wednesday, August 6, 2008
gvim : search options
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment