Ah, I miss it.

%g/Vaya con Dios/s//[\U&](#\L&)/|s/#[^)]\+/\=substitute(submatch(0),' 
','-','g')/

On Wednesday, March 14, 2012 7:28:46 PM UTC+9, Tim Chase wrote:
> On 03/14/12 05:18, Yasuhiro MATSUMOTO wrote:
> >> Vaya con Dios
> >>
> >> to:
> >>
> >> [VAYA CON DIOS](#vaya-con-dios)
> >
> > :%s/Vaya con Dios/[\U&](#\L&)/
> 
> It misses adding the dashes in the lowercase version
> 
> -tim

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to