> If I have these lines in a script: > > let filename = something > new filename > > new takes the literal string 'filename' instead of expanding it and > using its value. How can I tell :new to expand the variable instead?
You can use exec: :exec 'new '.filename -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
