From 203aeadad8efa6177d1e5905ed5b53c4d5635ea8 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 31 Jul 2026 12:24:32 -0400 Subject: [PATCH] Fix keymap and plugin spec bugs - Move fugitive force-push from gf to gF; gf is LazyVim's read-only "Git Current File History" - octo.nvim used `opt` instead of `opts`, so the PR comment mappings were silently dropped; also drop the spec duplicated by the util.octo extra - oil's `-` keymap had `desc` nested in a third table, so lazy.nvim ignored it Co-Authored-By: Claude Opus 5 --- lua/plugins/fugitive.lua | 2 +- lua/plugins/octo.lua | 11 +---------- lua/plugins/oil.lua | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/lua/plugins/fugitive.lua b/lua/plugins/fugitive.lua index 1b5ea73..51e5bd5 100644 --- a/lua/plugins/fugitive.lua +++ b/lua/plugins/fugitive.lua @@ -14,7 +14,7 @@ return { { "gc", [[Git commit]], desc = "[G]it [C]ommit" }, { "gb", [[Git blame -C]], desc = "[G]it [B]lame" }, { "gp", [[Git push]], desc = "[G]it [P]ush" }, - { "gf", [[Git push --force]], desc = "[G]it [F]orce push" }, + { "gF", [[Git push --force]], desc = "[G]it [F]orce push" }, { "gu", [[Git pull]], desc = "[G]it p[U]ll" }, { "gh", diff --git a/lua/plugins/octo.lua b/lua/plugins/octo.lua index a864538..e50fb26 100644 --- a/lua/plugins/octo.lua +++ b/lua/plugins/octo.lua @@ -1,15 +1,6 @@ return { "pwntester/octo.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-telescope/telescope.nvim", - -- OR 'ibhagwan/fzf-lua', - "nvim-tree/nvim-web-devicons", - }, - cmd = { - "Octo", - }, - opt = { + opts = { mappings = { pull_request = { next_comment = { lhs = "]c", desc = "go to next comment" }, diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua index 58eb1d3..0be4598 100644 --- a/lua/plugins/oil.lua +++ b/lua/plugins/oil.lua @@ -25,6 +25,6 @@ return { }, dependencies = { "nvim-tree/nvim-web-devicons" }, keys = { - { "-", "Oil", { desc = "Open parent directory in current buffer" } }, + { "-", "Oil", desc = "Open parent directory in current buffer" }, }, }