Thanks everyone, pretty similar answers here http://stackoverflow.com/questions/6042326/vim-set-gui-font-inside-a-function with additional solution for Win32
On Wed, May 18, 2011 at 3:49 PM, Ben Schmidt <[email protected]> wrote: >> e.g. :exe "set gfn=Monaco " . a:n > > That space needs escaping for :set. > > :exe "set gfn=Monaco\\ " . a:n > > or > > :exe 'set gfn=Monaco\ ' . a:n > > Which is one reason why, as both of us agree, I think, using :let is better. > > Ben. > > > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
