zk-org / zk-nvim

Neovim extension for zk
https://github.com/zk-org/zk
GNU General Public License v3.0
503 stars 41 forks source link

Open ZK notes on any neovim location #32

Closed danymat closed 2 years ago

danymat commented 2 years ago

Hello !

I would love to be able to open ZK notes on any neovim location. At the moment, I need to be inside a markdown file (in my notebook dir) to be able to use Zk commands.

The objective would be to specify a default notebook dir in the setup function, and doing :ZkNotes (or :ZkStart and then :ZkNotes, in order to start the lsp beforehand) would make me see my notes.

What do you think ?

danymat commented 2 years ago

Nevermind, I found about ZK_NOTEBOOK_DIR, my bad. However, I think this part should be referenced in the commands section too.