From 2d7a465268a42dd02d8c46e01a7041d518c3c4f9 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 10 Nov 2023 14:28:59 -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',