From 245a71c9f7558423360c65c7d6ac7c6bbcd5cc2f Mon Sep 17 00:00:00 2001 From: LostNeophyte Date: Thu, 8 Dec 2022 12:11:13 +0100 Subject: feat(telescope): add `lvim.builtin.telescope.theme` (#3548) fixes https://github.com/LunarVim/LunarVim/issues/3406 --- lua/lvim/core/which-key.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lua/lvim/core/which-key.lua') diff --git a/lua/lvim/core/which-key.lua b/lua/lvim/core/which-key.lua index d0ad77a1..efc673a2 100644 --- a/lua/lvim/core/which-key.lua +++ b/lua/lvim/core/which-key.lua @@ -84,13 +84,18 @@ M.config = function() ["q"] = { "lua require('lvim.utils.functions').smart_quit()", "Quit" }, ["/"] = { "(comment_toggle_linewise_current)", "Comment toggle current line" }, ["c"] = { "BufferKill", "Close Buffer" }, - ["f"] = { require("lvim.core.telescope.custom-finders").find_project_files, "Find File" }, + ["f"] = { + function() + require("lvim.core.telescope.custom-finders").find_project_files { previewer = false } + end, + "Find File", + }, ["h"] = { "nohlsearch", "No Highlight" }, ["e"] = { "NvimTreeToggle", "Explorer" }, b = { name = "Buffers", j = { "BufferLinePick", "Jump" }, - f = { "Telescope buffers", "Find" }, + f = { "Telescope buffers previewer=false", "Find" }, b = { "BufferLineCyclePrev", "Previous" }, n = { "BufferLineCycleNext", "Next" }, W = { "noautocmd w", "Save without formatting (noautocmd)" }, -- cgit v1.2.3