On Wed, Sep 16, 2009 at 2:39 AM, J. Manuel Picaza <[email protected]> wrote:
>
> Hello all,
>
> I would like to substitute in a long script all ocurrences of \<select
> \|from\where\|etc\> except if those words are part of a string
> (maarked as string in the corresponding highlight). eg.:
>
> select chain from someTable where chain contains("%SeLeCt%FroM") ->
> SELECT chain FROM someTable WHERE chain CONTAINS("%SeLeCt%FroM")
>
> What is missing to :%s/\<select\|from\|where\|contains\>/\U&
>
You might want to give this plugin a try:

http://www.vim.org/scripts/script.php?script_id=848

-- 
HTH,
Hari

>
> Thank you in advance,
> Manuel
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to