Why does this not work?

let dnfile = strftime("%Y") . ".md"
nmap <leader>dn execute 'e ' fnameescape(dnfile)

dnfile is set properly, but when I try to invoke it, it makes a change
to the current buffer...

c
--
Chris Lott <[email protected]>

-- 
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

Reply via email to