summaryrefslogtreecommitdiff
path: root/fnl/plugins/tools/orgmode.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-17 00:08:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-17 00:08:43 +0100
commita48ba3f7dfe35c7ca622e63a72574134788d68c7 (patch)
tree0675dc0f5e950c8739b63da29568d083e9c1d057 /fnl/plugins/tools/orgmode.fnl
parent10b175f252104458d7478d8a2822818850cfdf92 (diff)
Update key mappings
Diffstat (limited to 'fnl/plugins/tools/orgmode.fnl')
-rw-r--r--fnl/plugins/tools/orgmode.fnl9
1 files changed, 7 insertions, 2 deletions
diff --git a/fnl/plugins/tools/orgmode.fnl b/fnl/plugins/tools/orgmode.fnl
index 99e55be..be96fd7 100644
--- a/fnl/plugins/tools/orgmode.fnl
+++ b/fnl/plugins/tools/orgmode.fnl
@@ -19,6 +19,11 @@
(orgmode.setup opts)))
{1 :nvim-orgmode/orgmode
- :event :BufReadPost
:config (fn []
- (setup))}
+ (setup))
+ :event :BufReadPost
+ :keys [{1 :ga 2 :<cmd>OrgAgendaPrompt<cr> :desc "Open agenda prompt"}
+ {1 :gc 2 :<cmd>OrgCapturePrompt<cr> :desc "Open capture prompt"}
+ {1 :gm
+ 2 "<cmd>Telescope orgmode search_headings theme=dropdown<cr>"
+ :desc "Search headings"}]}