Anthony Rodriguez
248ba1931b
Update .config/nvim/init.lua Update .config/nvim/lazy-lock.json Update .config/nvim/lua/plugins/telescope.lua
20 lines
831 B
Lua
20 lines
831 B
Lua
return {
|
|
'nvim-telescope/telescope.nvim',
|
|
tag = "0.1.3",
|
|
lazy = true,
|
|
dependencies = {
|
|
'nvim-lua/plenary.nvim',
|
|
"nvim-telescope/telescope-project.nvim"
|
|
},
|
|
opts = {}, -- define config options here, or use a config() function
|
|
config = function()
|
|
require('telescope').load_extension('projects')
|
|
end,
|
|
keys = {
|
|
{ '<leader>ff', function() require 'telescope.builtin'.find_files() end, mode = 'n' },
|
|
{ '<leader>fg', function() require('telescope.builtin').live_grep() end, mode = 'n' },
|
|
{ '<leader>fb', function() require('telescope.builtin').buffers() end, mode = 'n' },
|
|
{ '<leader>fh', function() require('telescope.builtin').help_tags() end, mode = 'n' },
|
|
{ '<leader>fp', function() require('telescope').extensions.projects.projects {} end, mode = 'n' }
|
|
},
|
|
}
|