On 2008-10-23, d tbsky <[EMAIL PROTECTED]> wrote: > hi: > i have some old vim ex-mode scripts which can not work under vim 7.0 and > 7.2. > after some checking, i found command like below didn't work under vim 7: > > a > 1 \\ > 2 \\ > . > w > q > > the command above can create two line "1\\" and "2\\" under vim 5 and vim 6. > it didn't work under vim 7. > i don't know if it is a bug or feature of vim 7? > thanks a lot for your help!!
Works for me. Specifically, I put those commands in a file, dummy.vim, then started vim like this: $ vim -N -u NONE dummy where the file 'dummy' does not yet exist, and executed :so dummy.vim That caused vim to exit, as expected. I opened the new file 'dummy' and found that it contained two lines: 1 \\ 2 \\ I am using vim-7.2.22. Regards, Gary --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
