sponsor Vim development Vim logo Vim Book Ad

intermediate Tip #116: Search all occurances of the word under cursor in all the open files

 tip karma   Rating 81/49, Viewed by 2304 

created:   September 13, 2001 6:53      complexity:   intermediate
author:   Manish Tehanguria      as of Vim:   6.0

Sometimes it is useful to know all the occurances of the word under cursor in all the open files. This can be done by pressing [I ( bracket and capital I ) . it shows the results found in the command window.

 rate this tip  Life Changing Helpful Unfulfilling 

<<Browsing by  paragraph | FAST SEARCH ACROSS THE PROJECT >>

Additional Notes

[email protected], September 21, 2001 6:19
Is this right? I always thought (and docs :he [I seems to say) it shows occurences in current file and files it includes (omitting comments), not in all open files...
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo