On 2009-08-14, Gary Johnson wrote:
> To fix b), change this section of autoload/notes.vim as shown:
>
> 16 catch
> 17 exec 'sp "'.notePath.'"'
> 18 endtry
I guess a better solution would be to use fnameescape():
exec 'sp' fnameescape(notePath)
Something I noticed is that if I execute ":Note", then change my
mind and close the window/buffer without saving it, a new, empty
file is created in my ~/Notes directory anyway. I think a new file
should not be created until the user decides to save his note. You
can give a name to the buffer without creating a file with the :f
command, if that helps.
Regards,
Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---