Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Apr 25, 2024
1 parent e07a3bb commit bcd4b5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/dotvim/pkgs/editor/setup/obsidian.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ return function()
vim.api.nvim_command("ObsidianFollowLink")
end
end, { buffer = true, desc = "obsidian-follow-link" })
vim.keymap.set("n", "<leader>ch", function()
return require("obsidian").util.toggle_checkbox()
end, { buffer = true, desc = "obsidian-toggle-checkbox" })
vim.keymap.set("n", "<cr>", function()
return require("obsidian").util.smart_action()
end, { buffer = true, desc = "obsidian-smart-action", expr = true })
end,
})
end

0 comments on commit bcd4b5e

Please sign in to comment.