Add telescope find_files shortcut

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

View File

@ -140,8 +140,14 @@ vim.keymap.set(
vim.keymap.set( vim.keymap.set(
'n', 'n',
'<Leader>ff', '<Leader>ff',
[[<Cmd>lua require('telescope.builtin').find_files()<CR>]],
{ noremap = true, silent = true, desc = "[F]ind [F]iles" }
)
vim.keymap.set(
'n',
'<Leader>fi',
[[<Cmd>lua require('telescope.builtin').builtin()<CR>]], [[<Cmd>lua require('telescope.builtin').builtin()<CR>]],
{ noremap = true, silent = true, desc = "[F]ind telescope [F]inders" } { noremap = true, silent = true, desc = "[F]ind telescope f[i]nders" }
) )
vim.keymap.set( vim.keymap.set(
'n', 'n',