home-manager/nvim/telescope.lua
2023-07-23 05:04:32 +02:00

8 lines
273 B
Lua

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