From 0db5d7aa098cec538ad0006c96a0a6b6bc159262 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 21 Mar 2022 19:43:50 +0100 Subject: fix(whichkey): add description for orgmode --- lua/config/whichkey.lua | 7 +++++-- 1 file 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 = { "Telescope git_branches", "Checkout branch" }, @@ -173,11 +174,13 @@ local mappings = { k = { "Telescope keymaps", "Keymaps" }, C = { "Telescope commands", "Commands" }, }, + o = { name = "Orgmode", - a = {"lua require('orgmode').action('agenda.prompt')"}, - o = {"lua require('orgmode').action('capture.prompt')"}, + a = {"lua require('orgmode').action('agenda.prompt')", "Open agenda prompt"}, + o = {"lua require('orgmode').action('capture.prompt')", "Open capture prompt"}, }, + r = { name = "Replace", r = { "lua require('spectre').open()", "Replace" }, -- cgit v1.2.3-70-g09d2