neovim-config/after/plugin/telescope.lua

7 lines
265 B
Lua
Raw Permalink Normal View History

2023-05-27 19:09:24 +00:00
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") });
end)