Hi,

What is if it exist the right way to run vimscript from a buffer
without saving it first?
I know about :@" but it can't process vimscript's longlines. If I copy
the following lines into unnamed register:

map <F4> m`:silent! %s/\(\s\+$\)\\|\(\r$\)//g<CR>``
      \:echo "Remove trailing spaces and ^Ms ..."<CR>

and try to run it using :@" I get the error E10.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to