Swap space+tab with fd instead of git-ls

This commit is contained in:
Tyler Hallada 2023-12-01 15:26:02 -05:00
parent 6e7a5fd5b0
commit 9b1d5e0c96

View File

@ -31,9 +31,9 @@ require('telescope').load_extension('session-lens')
vim.keymap.set( vim.keymap.set(
'n', 'n',
'<leader><tab>', '<leader>fgf',
[[<Cmd>lua require('telescope.builtin').git_files({ show_untracked = true })<CR>]], [[<Cmd>lua require('telescope.builtin').git_files({ show_untracked = true })<CR>]],
{ noremap = true, silent = true, desc = "Find git files" } { noremap = true, silent = true, desc = "[F]ind [G]it [F]iles" }
) )
vim.keymap.set( vim.keymap.set(
'n', 'n',
@ -137,6 +137,12 @@ vim.keymap.set(
[[<Cmd>lua require('telescope.builtin').keymaps()<CR>]], [[<Cmd>lua require('telescope.builtin').keymaps()<CR>]],
{ noremap = true, silent = true, desc = "[F]ind key [M]appings" } { noremap = true, silent = true, desc = "[F]ind key [M]appings" }
) )
vim.keymap.set(
'n',
'<Leader><tab>',
[[<Cmd>lua require('telescope.builtin').find_files()<CR>]],
{ noremap = true, silent = true, desc = "find files shortcut" }
)
vim.keymap.set( vim.keymap.set(
'n', 'n',
'<Leader>ff', '<Leader>ff',