mirror of
https://github.com/Ascyii/nvim.git
synced 2026-01-01 04:04:24 -05:00
auto up 11:52:14 up 0:59, 2 users, load average: 0.27, 0.30, 0.33
This commit is contained in:
@@ -34,14 +34,8 @@ return {
|
||||
{
|
||||
"<leader>g",
|
||||
function()
|
||||
require('telescope.builtin').live_grep({
|
||||
disable_devicons = true,
|
||||
cwd = vim.fn.getcwd(),
|
||||
additional_args = function()
|
||||
return { '--hidden', '--glob', '!.git/*' }
|
||||
end,
|
||||
})
|
||||
end
|
||||
require('utils.functions').fzf_wrapped("grep")
|
||||
end
|
||||
},
|
||||
{
|
||||
"<leader>fh",
|
||||
@@ -52,20 +46,8 @@ return {
|
||||
{
|
||||
"<leader><leader>",
|
||||
function()
|
||||
require('telescope.builtin').find_files({
|
||||
hidden = true,
|
||||
no_ignore = true,
|
||||
follow = true,
|
||||
disable_devicons = false,
|
||||
prompt_title = "Find Files",
|
||||
find_command = {
|
||||
"rg", "--files",
|
||||
"--glob", "!**/.git/*",
|
||||
"--glob", "!**/build/*",
|
||||
"--glob", "!**/*.{jpg,png,gif,mp4,mkv,tar,zip,iso}"
|
||||
}
|
||||
})
|
||||
end
|
||||
require('utils.functions').fzf_wrapped("find")
|
||||
end
|
||||
}
|
||||
},
|
||||
config = true,
|
||||
|
||||
Reference in New Issue
Block a user