dotfiles/dot_config/nvim/lua/plugins/telescope.lua
2024-01-14 23:03:03 +09:00

15 lines
657 B
Lua

return {
'nvim-telescope/telescope.nvim', tag = '0.1.5',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>\'', builtin.marks, {})
vim.keymap.set('n', '<leader>.', builtin.find_files, {})
vim.keymap.set('n', '<leader>,.', builtin.find_files, {})
vim.keymap.set('n', '<leader>,/', builtin.live_grep, {})
vim.keymap.set('n', '<leader>,,', builtin.buffers, {})
vim.keymap.set('n', '<leader>,;', builtin.command_history, {})
vim.keymap.set('n', '<leader>,?', builtin.search_history, {})
end
}