dot_files/.config/nvim/lua/plugins/telescope.lua
2024-08-08 16:15:44 +03:00

13 lines
539 B
Lua

return {
'nvim-telescope/telescope.nvim', tag = '0.1.8',
init = function ()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>fs', builtin.grep_string, {})
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
vim.keymap.set('n', '<leader>ft', builtin.treesitter, {})
end
}