zk-org / zk-nvim

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

Create note from path with command similar to `:ZkNewFromTitleSelection` #79

Closed AndOrangutan closed 2 years ago

AndOrangutan commented 2 years ago

For my workflow it would be very nice to be able to create notes in subdirectories from a path. I am trying to setup Zk for use with Emanote. :ZkNewFromTitleSelection works very similar, but I would like to provide a path instead of a title, since the title could be infered from my path given my configuration I think.

For example: image

I would like the selected above to create a relative link to docs/awesomewm/Awesome\ Window\ Manager.md from inside Docs.md.

image

As mentioned, the ZkNewFromTitleSelection commands are quite close, but don't seem to handle the path how I need.

image

Something like ZkNewFromPathSelection would be super useful but I am kinda lost on where to go. Thanks for any help you can provide.

AndOrangutan commented 2 years ago

Closed, realized this isn't waht I really want. My appologies.