Add Obsidian keymaps
Add Obsidian keymaps to create and search notes.
This commit is contained in:
parent
fded826b0a
commit
4fa91b9720
|
@ -8,3 +8,8 @@ require("obsidian").setup {
|
||||||
|
|
||||||
new_notes_location = "0 - Inbox",
|
new_notes_location = "0 - Inbox",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local nmap = require"opdavies.keymap".nmap
|
||||||
|
|
||||||
|
nmap { "<leader>on", "<cmd>ObsidianNew<cr>" }
|
||||||
|
nmap { "<leader>os", "<cmd>ObsidianSearch<cr>" }
|
||||||
|
|
Reference in a new issue