summaryrefslogtreecommitdiff
path: root/fnl/config/telescope.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/telescope.fnl')
-rw-r--r--fnl/config/telescope.fnl9
1 files changed, 8 insertions, 1 deletions
diff --git a/fnl/config/telescope.fnl b/fnl/config/telescope.fnl
index ef125bb..c04c4a5 100644
--- a/fnl/config/telescope.fnl
+++ b/fnl/config/telescope.fnl
@@ -3,6 +3,10 @@
(def- opts {:noremap true :silent true})
+(def- lens-opts {:path_display [:shorten]
+ :previewer false
+ :prompt_title :Sessions})
+
(let [telescope (util.prequire :telescope)]
(let [actions (require :telescope.actions)]
(telescope.setup {:defaults {:prompt_prefix "  "
@@ -77,4 +81,7 @@
:case_mode :smart_case}}})
(telescope.load_extension :fzf)
(telescope.load_extension :frecency)
- (telescope.load_extension :orgmode)))
+ (telescope.load_extension :orgmode)
+ (telescope.load_extension :harpoon)
+ (util.setup :session-lens lens-opts)
+ (telescope.load_extension :session-lens)))