as I said, I didn't even know there was such a hardcoded default. by first instinct when I installed neuron was: create a directory (which was coincidentally named ~/zettelkasten), move into it and start creating zettels inside.
actually it was far more confusing to me when I tried to create zettels on a different directory just to test the vim plugin and only after creating 4 I realized they were all in my default zettelkasten
@fiatjaf That makes sense. I wouldn't worry about backwards compat here. I'm all for switching to current-directory entirely. And just don't have a default. BUT ... I think neuron should fail if there is no neuron.dhall (you just don't want to cd ~/code/someproj and then run neuron by mistake and it treating it as zettelksaten with just README.md in it)
Following suggestions for the user-interface Switch program name from neuron to zk for faster typing Have a default Zettelkasten directory per project e.g. .zk/ Use per default the Zettelkasten (.z...
I'll try to do the PR but first I must get my haskell skills up to date and a development environment running well on my relatively ancient computer, then find some time, so please don't wait for me! if I take too long I can try another PR in the future.
may I ask why not just use the current directory always for all
neuron
things?fiatjaf said:
never thought about it, but it looks like a good idea. so what about ~/zettelkasten?
as I said, I didn't even know there was such a hardcoded default. by first instinct when I installed neuron was: create a directory (which was coincidentally named ~/zettelkasten), move into it and start creating zettels inside.
since subdirectories are not supported there's no way the policy of just-use-the-current-directory will fail or cause confusion
actually it was far more confusing to me when I tried to create zettels on a different directory just to test the vim plugin and only after creating 4 I realized they were all in my default zettelkasten
in my opinion it should be trashed out of code, but I don't know about backwards-compatibility etc.
@fiatjaf That makes sense. I wouldn't worry about backwards compat here. I'm all for switching to current-directory entirely. And just don't have a default. BUT ... I think neuron should fail if there is no neuron.dhall (you just don't want to
cd ~/code/someproj
and then run neuron by mistake and it treating it as zettelksaten with just README.md in it)PR welcome :-)
So in a way,
neuron.dhall
:: neuron ==.git
:: githttps://github.com/srid/neuron/issues/161#issuecomment-689880375
great! that's the best solution in my opinion
I'll try to do the PR but first I must get my haskell skills up to date and a development environment running well on my relatively ancient computer, then find some time, so please don't wait for me! if I take too long I can try another PR in the future.
I'm in no rush either :-P Remember, development workflow is pretty fun with neuron (checkout CONTRIBUTING.md; in nvim you can try coc.vim)