From 1e12c549d9aedc69d1837f73468c9ff45fd83f20 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sat, 11 Jul 2026 18:46:52 -0400 Subject: [PATCH] refactor(astrocore): remove git_files picker bindings --- .gitignore | 1 + lua/plugins/astrocore.lua | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 616032b..43e86fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /.omc /.omc/state +/.understand-anything/tmp diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index 45eabc8..9c00178 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -152,10 +152,6 @@ return { }, ["L"] = { "BufferLineCycleNext", desc = "Next buffer" }, ["H"] = { "BufferLineCyclePrev", desc = "Previous buffer" }, - [""] = { - function() require("snacks").picker.git_files { transform = file_filter } end, - desc = "Find git files", - }, ["e"] = { function() require("snacks").picker.files { transform = file_filter } end, desc = "Find files (cwd)", @@ -401,10 +397,6 @@ return { [""] = { "wabd", desc = "Save, close buffer, and return to normal mode" }, }, v = { - [""] = { - function() require("snacks").picker.git_files { transform = file_filter } end, - desc = "Find git files", - }, [""] = { "wbd", desc = "Save and close buffer" }, [""] = { "wbd", desc = "Save and close buffer" }, ["D"] = { @@ -437,10 +429,6 @@ return { }, }, t = { - [""] = { - function() require("snacks").picker.git_files { transform = file_filter } end, - desc = "Find git files", - }, [""] = { function() vim.cmd 'normal! "+p' end, desc = "Paste from system clipboard" }, ["f"] = { function() require("snacks").picker.buffers() end,