zk-org / zk-nvim

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

Determine the notebook directory with zk's config file #183

Closed xlucn closed 1 month ago

xlucn commented 1 month ago

If you have an idea, open a discussion

xlucn commented 1 month ago

Okay, I am not sure what the FR issue template does. Looks like it suggest to open a discussion. Feel free to convert this issue into a discussion if appropriate.

Currently, zk-nvim will look for the default notebook directory according to $ZK_NOTEBOOK_DIR. However, zk provides another way with config section [notebook].

Could the config file be used to determine the default notebook directory in zk-nvim, too?