Hello,
if I want to insert the following command

:'<,'>s/(\@<=.\{-},\|,\@<=.\{-}/^M&/g

in _vimrc under and autocommand like

:autocmd FileType c,cpp,h,hpp :map <C-F10> :s/(\@<=.\{-},\|,\@<=.\{-}/
<CR>&/gc

but the previous autocommand doesn't work.

I don't understand if I have to escape character in generals and how
to escaper the <CR> character.

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

Reply via email to