diff --git a/.gitignore b/.gitignore index e4f3a0d..fc96c9a 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,4 @@ tags.* # Temporary tmp temp -lua/plugins +!lua/plugins diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index 70aee7a..0a947e6 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -245,7 +245,7 @@ return { -- automatically update working directory (update manually with `:AstroRoot`) autochdir = true, -- scope of working directory to change ("global"|"tab"|"win") - scope = "global", -- Changed from "win" to "global" to make directory changes apply globally + scope = "win", -- Changed from "win" to "global" to make directory changes apply globally -- show notification on every working directory change notify = false, }, @@ -340,6 +340,16 @@ return { end, desc = "Dashboard", }, + [""] = { + function() + require("snacks").terminal("gh dash", { + hidden = true, + auto_close = true, + interactive = true, + }) + end, + desc = "GH Dash", + }, ["g"] = { function() require("snacks").terminal("lazygit", { @@ -350,6 +360,21 @@ return { end, desc = "Lazygit", }, + [""] = { + function() + require("snacks").terminal("lazygit", { + hidden = true, + auto_close = true, + interactive = true, + }) + end, + desc = "Lazygit", + }, + [""] = { "Octo issue list", desc = "List Issues" }, + [""] = { "Octo label", desc = "Manage Labels" }, + [""] = { "Octo pr list", desc = "List PRs" }, + ["s"] = { "Octo search", desc = "Octo Search" }, + [""] = { "!gh release list", desc = "List Releases" }, ["d"] = { function() require("snacks").picker.git_diff() end, desc = "Search git diffs",