diff options
| author | LostNeophyte <[email protected]> | 2022-12-08 12:11:13 +0100 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-08 12:11:13 +0100 | 
| commit | 245a71c9f7558423360c65c7d6ac7c6bbcd5cc2f (patch) | |
| tree | 72228415ffa767a2ffe58c20a2bf816766074402 /lua/lvim/core/which-key.lua | |
| parent | 33e0960ba3fbe4988731a7e297d5f696993f8541 (diff) | |
feat(telescope): add `lvim.builtin.telescope.theme` (#3548)
fixes https://github.com/LunarVim/LunarVim/issues/3406
Diffstat (limited to 'lua/lvim/core/which-key.lua')
| -rw-r--r-- | lua/lvim/core/which-key.lua | 9 | 
1 files changed, 7 insertions, 2 deletions
| 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"] = { "<cmd>lua require('lvim.utils.functions').smart_quit()<CR>", "Quit" },        ["/"] = { "<Plug>(comment_toggle_linewise_current)", "Comment toggle current line" },        ["c"] = { "<cmd>BufferKill<CR>", "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"] = { "<cmd>nohlsearch<CR>", "No Highlight" },        ["e"] = { "<cmd>NvimTreeToggle<CR>", "Explorer" },        b = {          name = "Buffers",          j = { "<cmd>BufferLinePick<cr>", "Jump" }, -        f = { "<cmd>Telescope buffers<cr>", "Find" }, +        f = { "<cmd>Telescope buffers previewer=false<cr>", "Find" },          b = { "<cmd>BufferLineCyclePrev<cr>", "Previous" },          n = { "<cmd>BufferLineCycleNext<cr>", "Next" },          W = { "<cmd>noautocmd w<cr>", "Save without formatting (noautocmd)" }, | 
