init.lua/after/plugin/telescope.lua
2024-01-21 22:52:43 +01:00

7 lines
269 B
Lua

local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<leader>gf', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("grep > ") })
end)