Add Obsidian keymaps

Add Obsidian keymaps to create and search notes.
This commit is contained in:
Oliver Davies 2024-04-22 21:57:04 +01:00
parent fded826b0a
commit 4fa91b9720

View file

@ -8,3 +8,8 @@ require("obsidian").setup {
new_notes_location = "0 - Inbox",
}
local nmap = require"opdavies.keymap".nmap
nmap { "<leader>on", "<cmd>ObsidianNew<cr>" }
nmap { "<leader>os", "<cmd>ObsidianSearch<cr>" }