From 2646fe374a65bed8f05219fa19aee90f52e69e1f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 19 Jul 2022 00:06:43 +0200 Subject: Add leader keymap for telescope commands --- fnl/config/which-key.fnl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fnl/config/which-key.fnl') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 54cd0e8..1f9f0fe 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -47,6 +47,9 @@ :n [:nohlsearch "No Highlight"] :P ["Telescope projects" :Projects] :z [:ZenMode "Zen Mode"] + :b ["lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})" "Switch buffers"] + :f ["lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})" "Find files"] + :t ["Telescope live_grep theme=ivy" "Find text"] :p {:name :Packer :c [:PackerCompile :Compile] :i [:PackerInstall :Install] -- cgit v1.2.3-70-g09d2