-
Notifications
You must be signed in to change notification settings - Fork 21
Starting vim with new note fails with undefined var #53
Comments
I replicated your command and it shows:
When I continue, I see:
Anyway, when I press enter, I can begin editing it in VIM without further problems. I can link it to other Zettels. I can also search other Zettels. Have you checked if ag is installed? As read.me says, ag is required if you intend to use the content search command. In my case, I missed it during the setup. When I installed it and rebooted the OS, the problems similar to yours went away. |
Hmm, interesting. I do have Maybe |
Just pushed a changed that hopefully fixes this - essentially it was trying to write the current buffer before creating the zettel but since there was no buffer yet it was throwing errors. |
Actually, this error shows when I start vim, even without any arguments now. |
Adding in my vim config: let g:neuron_extension = '.md' did not remove the error message :/ Admittedly, I do not understand vimscript. |
Hi Martin, this looks like the result of a recent commit. It looks like somebody had something similar and they were able to fix it by making sure that g:neuron_dir = "/your/zettekasten/here/" line in your config came after your plugin lines. See #51 (comment) |
Oh bugger, my |
Did moving it fix the issue? |
Should I? I understood it should be on the last line, therefore after the “plugin lines” |
@beandipper could you please look at what happens if you change |
ok, as noted elsewhere the issue is because of |
vim -g "+call neuron#edit_zettel_new()"
Can I/How can I do this?
The text was updated successfully, but these errors were encountered: