summaryrefslogtreecommitdiff
path: root/fnl/plugins/tools/orgmode.fnl
diff options
context:
space:
mode:
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"}]}