From cfcc416696167f560e8c08c41b888e1b891c0c4c Mon Sep 17 00:00:00 2001 From: DefaultGen Date: Wed, 5 Jun 2024 14:45:08 -0400 Subject: Add sample keymaps --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2b5f7a1..86df4d7 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,15 @@ Example config via [lazy.nvim](https://github.com/folke/lazy.nvim) The heading options automatically support Markdown (#) and Org/Norg (*) headings. +Maybe you want to set keymaps for the commands as well + +```lua +vim.keymap.set({'n','v'}, 'nn', "Denote note", { desc = "New note" }) +vim.keymap.set({'n','v'}, 'nt', "Denote title", { desc = "Change title" }) +vim.keymap.set({'n','v'}, 'nk', "Denote tag", { desc = "Change tags" }) +vim.keymap.set({'n','v'}, 'nz', "Denote signature", { desc = "Change signature" }) +``` + # :Denote Command ```vim -- cgit v1.2.3