BC wrote:
I installed the Notes plugin by Hari Krishna in gvim on Windows Vista
64, but I can't set the path to the directory for storing the notes.
I've created directories named "notes" in several locations, but no
matter what path I try in my _gvimrc, I get this error on reopening
Gvim:
"Notes: Configured root doesn't exist or is not a directory"
This is the path I would like to have:
C:\Users\bc\My Dropbox\LatestVim\notes
Following as best I could the instructions for the plugin, I tried
innumerable variations on this:
let g:notesRoot = 'C:\Users\bc\My Dropbox\LatestVim\notes'
I tried changing to forward slashes, still didn't work. I substituted
'~/' for the 'C:\Users\bc' part. Thinking maybe the space in "My
Dropbox" was the problem, I tried a different directory, even
let g:notesRoot = '/notes'
Nothing works. I even tried changing the single quotes to double
quotes. Can someone enlighten me as to what exactly I need to put as
an argument to the "let g:notesRoot = " thing?
BC,
For one thing, you should be aware that _gvimrc is not sourced until
*after* plugin/notes.vim has been sourced.
:help startup
Try putting the assignment to g:notesRoot in your vimrc instead of your
gvimrc.
Brett Stahlman
Thanks
BC
--
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
Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en