diff --git a/lua/dotvim/pkgs/editor/setup/obsidian.lua b/lua/dotvim/pkgs/editor/setup/obsidian.lua index 7b369e13..43fc3951 100644 --- a/lua/dotvim/pkgs/editor/setup/obsidian.lua +++ b/lua/dotvim/pkgs/editor/setup/obsidian.lua @@ -14,6 +14,12 @@ return function() vim.api.nvim_command("ObsidianFollowLink") end end, { buffer = true, desc = "obsidian-follow-link" }) + vim.keymap.set("n", "ch", function() + return require("obsidian").util.toggle_checkbox() + end, { buffer = true, desc = "obsidian-toggle-checkbox" }) + vim.keymap.set("n", "", function() + return require("obsidian").util.smart_action() + end, { buffer = true, desc = "obsidian-smart-action", expr = true }) end, }) end