regex - How to search for all uppercase words in vim? -


i search uppercase words in file have no idea how (or if it's possible). found solution here on stackoverflow, doesn't work on vim.

from command mode, assuming not have option ignorecase set:

/\<[a-z]\+\> 

or

/\v<[a-z]+> 

finds string of capital letters greater length 1 surrounded word boundaries. second form uses 'very-magic'. :help magic details


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -