From 9b1d5e0c96efc7404ad328c1f6599f3cefcc8a16 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 1 Dec 2023 15:26:02 -0500 Subject: [PATCH] Swap space+tab with fd instead of git-ls --- lua/plugins/telescope.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 44f99da..345a2b7 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -31,9 +31,9 @@ require('telescope').load_extension('session-lens') vim.keymap.set( 'n', - '', + 'fgf', [[lua require('telescope.builtin').git_files({ show_untracked = true })]], - { noremap = true, silent = true, desc = "Find git files" } + { noremap = true, silent = true, desc = "[F]ind [G]it [F]iles" } ) vim.keymap.set( 'n', @@ -137,6 +137,12 @@ vim.keymap.set( [[lua require('telescope.builtin').keymaps()]], { noremap = true, silent = true, desc = "[F]ind key [M]appings" } ) +vim.keymap.set( + 'n', + '', + [[lua require('telescope.builtin').find_files()]], + { noremap = true, silent = true, desc = "find files shortcut" } +) vim.keymap.set( 'n', 'ff',