nvim telescope stuff

This commit is contained in:
tosu 2023-12-06 03:29:25 +01:00
parent 9ea61a708e
commit f920279570
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@ 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 > ") });
builtin.grep_string({ search = vim.fn.input("Grep: ") })
end)