Introduce Telescope plugin

This commit is contained in:
Kenneth Benzie 2024-03-02 17:38:42 +00:00
parent ff82892720
commit fc60ca0882

17
lua/plugins/telescope.lua Normal file
View File

@ -0,0 +1,17 @@
return {
'nvim-telescope/telescope.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
},
config = function()
require('telescope').setup({})
-- TODO: Add more mappings
vim.keymap.set('n', '<C-f>f', ':Telescope find_files<CR>', { noremap = true })
vim.keymap.set('n', '<C-f>g', ':Telescope git_files<CR>', { noremap = true })
-- vim.keymap.set('n', '<C-f>g', ':Telescope live_grep<CR>', { noremap = true })
vim.keymap.set('n', '<C-f>b', ':Telescope buffers<CR>', { noremap = true })
vim.keymap.set('n', '<C-f>h', ':Telescope help_tags<CR>', { noremap = true })
end
}