[EMAIL PROTECTED] wrote (partially rephrased):
select character-wise visual, less than one line,
execute
        :'<,'>s/\(\x\x\)/0x\1, /g
All occurrences on that line are replaced.
> What happened? Does this works as intended?

Yes. The :s command is line-wise.
You might want to use the c flag. ( :he :s_c )
Please use the "vim" mailing list, not "vim-dev" when not sure.

> 
> -- Anatoli Sakhnik.


-- 
Beating the averages: http://www.paulgraham.com/avg.html
Python paradox:       http://www.paulgraham.com/pypar.html
Bad Vista:            http://badvista.org/
XML sucks:            http://c2.com/cgi/wiki?XmlSucks
For robots (please don't mail me there): [EMAIL PROTECTED]

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

Raspunde prin e-mail lui