From 69483c9b53e8d14e7c4398380ac64b2ea8c27887 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 11 Oct 2022 00:42:44 +0200 Subject: Add dropdown theme on most telescope commands --- fnl/config/which-key.fnl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'fnl/config') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 8e89095..148ee29 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -40,7 +40,7 @@ :b ["lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})" "Switch buffers"] :d [:TroubleToggle :Trouble] - :D ["Telescope diagnostics" "Telescope diagnostics"] + :D ["Telescope diagnostics theme=dropdown" "Telescope diagnostics"] :f ["lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})" "Find files"] :g ["Telescope live_grep theme=ivy" "Find text"] @@ -48,7 +48,7 @@ "Harpoon Next"] :h ["lua require('harpoon.ui').nav_prev()" "Harpoon Prev"] - :t ["Telescope harpoon marks" "Search Files"] + :t ["Telescope harpoon marks theme=dropdown" "Search Files"] :v ["lua vim.lsp.buf.rename()" :Rename] :p [:SaveSession "Save Session"] :r ["lua require('harpoon.ui').toggle_quick_menu()" @@ -63,17 +63,17 @@ :nowait true}) (def- find {:name :Find - :b ["Telescope git_branches" "Checkout branch"] - :c ["Telescope colorscheme" :Colorscheme] + :b ["Telescope git_branches theme=dropdown" "Checkout branch"] + :c ["Telescope colorscheme theme=dropdown" :Colorscheme] :f ["lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})" "Find files"] :t ["Telescope live_grep theme=ivy" "Find text"] - :s ["Telescope grep_string" "Find String"] + :s ["Telescope grep_string theme=dropdown" "Find String"] :h ["Telescope help_tags" :Help] :H ["Telescope highlights" :Highlights] :l ["Telescope resume" "Last Search"] :M ["Telescope man_pages" "Man Pages"] - :r ["Telescope oldfiles" "Recent File"] + :r ["Telescope oldfiles theme=dropdown" "Recent File"] :R ["Telescope registers" :Registers] :k ["Telescope keymaps" :Keymaps] :C ["Telescope commands" :Commands]}) @@ -90,9 +90,9 @@ :s ["lua require 'gitsigns'.stage_hunk()" "Stage Hunk"] :u ["lua require 'gitsigns'.undo_stage_hunk()" "Undo Stage Hunk"] - :o ["Telescope git_status" "Open changed file"] - :b ["Telescope git_branches" "Checkout branch"] - :c ["Telescope git_commits" "Checkout commit"] + :o ["Telescope git_status theme=dropdown" "Open changed file"] + :b ["Telescope git_branches theme=dropdown" "Checkout branch"] + :c ["Telescope git_commits theme=dropdown" "Checkout commit"] :d ["Gitsigns diffthis HEAD" :Diff]}) (def- lsp {:name :LSP @@ -134,7 +134,7 @@ (if (not= win nil) (nvim.set_current_win win))))) -(def- nmappings {:a ["Telescope lsp_document_symbols" +(def- nmappings {:a ["Telescope lsp_document_symbols theme=dropdown" "Document Symbols"] :c [:Bdelete! "Close Buffer"] :f find -- cgit v1.2.3-70-g09d2