summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/telescope.fnl3
-rw-r--r--fnl/config/which-key.fnl3
-rw-r--r--fnl/plugins.fnl3
3 files changed, 6 insertions, 3 deletions
diff --git a/fnl/config/telescope.fnl b/fnl/config/telescope.fnl
index d421b0d..ef125bb 100644
--- a/fnl/config/telescope.fnl
+++ b/fnl/config/telescope.fnl
@@ -76,4 +76,5 @@
:override_file_sorter true
:case_mode :smart_case}}})
(telescope.load_extension :fzf)
- (telescope.load_extension :frecency)))
+ (telescope.load_extension :frecency)
+ (telescope.load_extension :orgmode)))
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index c2c0efc..3be9a7f 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -171,7 +171,8 @@
(def- gmappings
{:a [:<cmd>OrgAgendaPrompt<cr> "Open agenda prompt"]
- :c [:<cmd>OrgCapturePrompt<cr> "Open capture prompt"]})
+ :c [:<cmd>OrgCapturePrompt<cr> "Open capture prompt"]
+ :m ["<cmd>Telescope orgmode search_headings theme=dropdown<cr>" "Search Headings"]})
(let [which-key (util.prequire :which-key)]
(which-key.setup setup)
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl
index b39a58f..2d30b9f 100644
--- a/fnl/plugins.fnl
+++ b/fnl/plugins.fnl
@@ -79,7 +79,8 @@
:dependencies [:nvim-lua/popup.nvim
:nvim-lua/plenary.nvim
:nvim-telescope/telescope-fzf-native.nvim
- :nvim-telescope/telescope-frecency.nvim]
+ :nvim-telescope/telescope-frecency.nvim
+ :joaomsa/telescope-orgmode.nvim]
:config (fn []
(require :config.telescope))}
{1 :tamago324/lir.nvim