diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-27 01:37:03 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-27 01:37:03 +0100 |
commit | a52d588c33b4746b95e16c52e85f8b1bf373b371 (patch) | |
tree | 943b7b05f32d29e9d7b5f54a62e8f224e2acab5a /fnl/config | |
parent | 54493eb7e02723c8da470eb3a8da35c6660dac9f (diff) |
Add telescope orgmode plugin
Diffstat (limited to 'fnl/config')
-rw-r--r-- | fnl/config/telescope.fnl | 3 | ||||
-rw-r--r-- | fnl/config/which-key.fnl | 3 |
2 files changed, 4 insertions, 2 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) |