add todo mapping and obsidian search

This commit is contained in:
xesc 2025-06-06 11:55:59 +02:00
parent bf207d7659
commit 583ab49953
2 changed files with 9 additions and 0 deletions

View file

@ -74,3 +74,6 @@ vim.api.nvim_set_keymap("n", "<leader>E", ":e ", {})
-- vertical resize
vim.api.nvim_set_keymap("n", "<leader>vr", ":vertical-resize ", {})
-- fast Todo and way to notes
vim.api.nvim_set_keymap("n", "<leader>N", ":e ~/notes/Todo.md", {})

View file

@ -50,6 +50,12 @@ return {
end,
opts = { noremap = false, expr = true, buffer = true },
},
["<Space>Os"] = {
action = function()
return "<cmd>ObsidianSearch<cr>"
end,
opts = { noremap = false, expr = true, buffer = true },
},
-- Toggle check-boxes.
["<leader>ch"] = {
action = function()