Skip to content

How to correctly filter ZkNotes by directory? #150

Closed Answered by asterixpound
asterixpound asked this question in Help
Discussion options

You must be logged in to vote

It looks like the option I wanted was hrefs rather than dir. The following keymap works as intended:

vim.api.nvim_set_keymap("n", "<leader>zof", "<Cmd>ZkNotes { hrefs = {'fleeting'}, sort = { 'modified' } }<CR>", opts)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by asterixpound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant