diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-03-21 19:43:50 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-03-21 19:43:50 +0100 |
commit | 0db5d7aa098cec538ad0006c96a0a6b6bc159262 (patch) | |
tree | c48b6ee789641d613f256e976b91ac33579c7011 | |
parent | c30745b3b5694360d4dc88e43a366bb901975be7 (diff) |
fix(whichkey): add description for orgmode
-rw-r--r-- | lua/config/whichkey.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/config/whichkey.lua b/lua/config/whichkey.lua index 2b85281..645a1e4 100644 --- a/lua/config/whichkey.lua +++ b/lua/config/whichkey.lua @@ -162,6 +162,7 @@ local mappings = { "Workspace Symbols", }, }, + s = { name = "Search", b = { "<cmd>Telescope git_branches<cr>", "Checkout branch" }, @@ -173,11 +174,13 @@ 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')"}, + a = {"<cmd>lua require('orgmode').action('agenda.prompt')", "Open agenda prompt"}, + o = {"<cmd>lua require('orgmode').action('capture.prompt')", "Open capture prompt"}, }, + r = { name = "Replace", r = { "<cmd>lua require('spectre').open()<cr>", "Replace" }, |