nvim/after/plugin/telescope.lua

9 lines
331 B
Lua
Raw Normal View History

2024-10-19 07:57:01 +00:00
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>.', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
-- vim.keymap.set('n', '<leader>pf', function()
-- builtin.grep_string({ search = vim.fn.input("Grep > ") })
-- end)