nvim/after/plugin/telescope.lua
2023-07-12 22:31:54 +02:00

8 lines
311 B
Lua

-- finding files in working dir and repo
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
vim.keymap.set('n', '<leader>pf', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") });
end)