Fix telescope find all files no ignore
This commit is contained in:
parent
fcdbd5be09
commit
b67f002a09
1 changed files with 4 additions and 2 deletions
|
|
@ -15,8 +15,10 @@ local function custom_git_files()
|
|||
end
|
||||
|
||||
-- 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', '<leader>pf', function()
|
||||
builtin.find_files({ no_ignore = true, hidden = true })
|
||||
end)
|
||||
vim.keymap.set('n', '<C-p>', custom_git_files, {})
|
||||
vim.keymap.set('n', '<leader>ps', function()
|
||||
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
||||
end)
|
||||
|
|
|
|||
Loading…
Reference in a new issue