mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-18 00:57:12 +00:00
Change: telescope find_files include hidden files
This commit is contained in:
@@ -25,7 +25,12 @@ keymap("n", "<C-Right>", ":vertical resize +2<CR>", opts)
|
|||||||
-- Telescope fuzzy finder
|
-- Telescope fuzzy finder
|
||||||
local telescope_status_ok, telescope = pcall(require, "telescope.builtin")
|
local telescope_status_ok, telescope = pcall(require, "telescope.builtin")
|
||||||
if telescope_status_ok then
|
if telescope_status_ok then
|
||||||
keymap("n", "<Leader>ff", telescope.find_files, {})
|
keymap(
|
||||||
|
"n",
|
||||||
|
"<Leader>ff",
|
||||||
|
"<cmd>lua require'telescope.builtin'.find_files({ find_command = {'rg', '--files', '--hidden', '--no-ignore', '-g', '!.git' }})<cr>",
|
||||||
|
{}
|
||||||
|
)
|
||||||
keymap("n", "<Leader>ll", telescope.live_grep, {})
|
keymap("n", "<Leader>ll", telescope.live_grep, {})
|
||||||
keymap("n", "<Leader>bb", telescope.buffers, {})
|
keymap("n", "<Leader>bb", telescope.buffers, {})
|
||||||
keymap("n", "<Leader>tt", telescope.treesitter, {})
|
keymap("n", "<Leader>tt", telescope.treesitter, {})
|
||||||
|
|||||||
Reference in New Issue
Block a user