|
|
@ -375,7 +375,7 @@ Add these global mappings in your main Neovim config:
|
|
|
|
-- Open notes associated with the selected tags.
|
|
|
|
-- Open notes associated with the selected tags.
|
|
|
|
vim.api.nvim_set_keymap("n", "<leader>zt", "<Cmd>ZkTags<CR>", opts)
|
|
|
|
vim.api.nvim_set_keymap("n", "<leader>zt", "<Cmd>ZkTags<CR>", opts)
|
|
|
|
-- Search for the notes matching a given query.
|
|
|
|
-- Search for the notes matching a given query.
|
|
|
|
vim.api.nvim_set_keymap("n", "<leader>zf", "<Cmd>ZkNotes { sort = { 'modified' }, match = vim.fn.input('Search: ') }<CR>", opts)
|
|
|
|
vim.api.nvim_set_keymap("n", "<leader>zf", "<Cmd>ZkNotes { sort = { 'modified' }, match = { vim.fn.input('Search: ') } }<CR>", opts)
|
|
|
|
-- Search for the notes matching the current visual selection.
|
|
|
|
-- Search for the notes matching the current visual selection.
|
|
|
|
vim.api.nvim_set_keymap("v", "<leader>zf", ":'<,'>ZkMatch<CR>", opts)
|
|
|
|
vim.api.nvim_set_keymap("v", "<leader>zf", ":'<,'>ZkMatch<CR>", opts)
|
|
|
|
<
|
|
|
|
<
|
|
|
|