Hi,

Robbo schrieb:
> 
> I need to put all the command in a mapping, for example
> 
> :map <C-F10> :s/,/,\r/g | normal gv | normal =
> 
> but it doesn't work correctly

why not just

  :vmap <C-F10> :s/,/,\r/g<cr>gv=

I used :vmap, because gv doesn't make sense if there was no visual
selection before.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

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

Reply via email to