From 49d98c9f79d98971d728174b49566d6657cffcb7 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:35:44 +0900 Subject: modified plugins/telescope.lua, modified lf/scope, modified .ssh/config --- .../lua/TheSiahxyz/plugins/telescope.lua | 31 +++++++++++++++------- 1 file changed, 22 insertions(+), 9 deletions(-) (limited to 'ar/.config/TheSiahxyz/lua') diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua index ddb31de..966a8e0 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua @@ -286,7 +286,7 @@ return { }, }, vimgrep_arguments = { - "rg", + "/usr/bin/rg", "--color=never", "--no-heading", "--with-filename", @@ -632,12 +632,16 @@ return { "%lock%.json", }, find_command = { - "rg", + "/usr/bin/rg", "--files", "--follow", "--hidden", "--no-ignore", "--sortr=modified", + "--glob", + "!**/.next/*", + "--glob", + "!**/node_modules/*", }, hidden = true, path_display = { @@ -668,7 +672,7 @@ return { find_files = { -- `hidden = true` will still show the inside of `.git/` as it's not `.gitignore`d. find_command = { - "rg", + "/usr/bin/rg", "--files", "--follow", "--hidden", @@ -678,9 +682,9 @@ return { "--glob", "!**/.git/*/*/*", "--glob", - "!**/.next/*/*/*", + "!**/.next/*", "--glob", - "!**/node_modules/*/*/*", + "!**/node_modules/*", }, }, }, @@ -735,7 +739,7 @@ return { pickers .new({}, { prompt_title = "Find Files", - finder = finders.new_oneshot_job({ "fd", "--type", "f" }, { + finder = finders.new_oneshot_job({ "/usr/bin/fd", "--type", "f" }, { entry_maker = function(entry) local is_open = opened_files[vim.fn.fnamemodify(entry, ":p")] -- Match absolute paths local displayer = entry_display.create({ @@ -766,7 +770,7 @@ return { require("telescope.builtin").find_files({ cwd = vim.fn.expand("~"), find_command = { - "rg", + "/usr/bin/rg", "--files", "--follow", "--hidden", @@ -820,7 +824,16 @@ return { vim.keymap.set("n", "fv", function() require("telescope.builtin").find_files({ cwd = vim.fn.stdpath("config"), - find_command = { "fd", "--type", "f", "--follow", "--color", "never", "--extension", "lua" }, + find_command = { + "/usr/bin/fd", + "--type", + "f", + "--follow", + "--color", + "never", + "--extension", + "lua", + }, }) end, { desc = "Find neovim config files" }) vim.keymap.set("n", "fV", function() @@ -1061,7 +1074,7 @@ return { -- defaults to {"png", "jpg", "mp4", "webm", "pdf"} filetypes = { "png", "jpg", "mp4", "mkv", "webm", "pdf" }, -- find command (defaults to `fd`) - find_cmd = "rg", + find_cmd = "/usr/bin/rg", }, }, }) -- cgit v1.2.3