epwalsh / obsidian.nvim

Obsidian 🤝 Neovim
Apache License 2.0
4.3k stars 195 forks source link

Support the zettelkasten prefixer core plugin with settings from .obsidian/zk-prefixer.json #13

Open CamdenClark opened 2 years ago

CamdenClark commented 2 years ago

🚀 The feature, motivation and pitch

The idea here is you'd have an :ObsidianZettel command or something similar that would have the ability to generate a new file using a template. This would support the core plugin "Zettelkasten Prefixer"

Alternatives

Can't support this at the moment.

Additional context

No response

epwalsh commented 2 years ago

This sounds reasonable. Obsidian.nvim already uses a Zettel ID to create new notes on the fly, but it would be nice to be able to customize how Zettel IDs / prefixes are made. So maybe we could pull from the config file for Zettelkasten Prefixer when present.

epwalsh commented 2 years ago

https://github.com/epwalsh/obsidian.nvim/pull/16 adds an :ObsidianNew command and a configuration option for customizing the paths / Zettel IDs for new notes.

megalithic commented 1 year ago

Is #16 enough to close this issue as done?