Add <leader>pf in telescope for Project Find (find all files)
This commit is contained in:
parent
6d7a054198
commit
fcdbd5be09
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ local function custom_git_files()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Keybindings
|
-- Keybindings
|
||||||
|
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
|
||||||
vim.keymap.set('n', '<C-p>', custom_git_files, {}) -- Use the custom function here
|
vim.keymap.set('n', '<C-p>', custom_git_files, {}) -- Use the custom function here
|
||||||
vim.keymap.set('n', '<leader>ps', function()
|
vim.keymap.set('n', '<leader>ps', function()
|
||||||
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue