summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-03-21 19:41:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-03-21 19:41:43 +0100
commitc30745b3b5694360d4dc88e43a366bb901975be7 (patch)
treeecbf5a4a34a78e93ace91609667453fcd4f4fe41
parent457de7a72e297f3fb0b930b809e23a8a2dec12a4 (diff)
feat(whichkey): add orgmode
-rw-r--r--lua/config/whichkey.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/config/whichkey.lua b/lua/config/whichkey.lua
index 9c3b1ec..2b85281 100644
--- a/lua/config/whichkey.lua
+++ b/lua/config/whichkey.lua
@@ -162,7 +162,6 @@ local mappings = {
"Workspace Symbols",
},
},
-
s = {
name = "Search",
b = { "<cmd>Telescope git_branches<cr>", "Checkout branch" },
@@ -174,7 +173,11 @@ local mappings = {
k = { "<cmd>Telescope keymaps<cr>", "Keymaps" },
C = { "<cmd>Telescope commands<cr>", "Commands" },
},
-
+ o = {
+ name = "Orgmode",
+ a = {"<cmd>lua require('orgmode').action('agenda.prompt')"},
+ o = {"<cmd>lua require('orgmode').action('capture.prompt')"},
+ },
r = {
name = "Replace",
r = { "<cmd>lua require('spectre').open()<cr>", "Replace" },