On 8/02/11 7:04 PM, rameo wrote:
thank you very much Ben :)

I did not work in the beginning but adding an extra "\" bbefore the
"|" did the job.

:<C-U>'<,'>s/\%V\(.\{-}\)\(\s\{-}\)\%(\%V\@!\\|$\)/\2\1/

I guess you're using this in a mapping or something, so you're needing
the extra backslash because of :help map_bar . When typing it on the
commandline, you shouldn't need it (and in fact, you need not to have
it).

Ben.



--
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