diff --git a/lua/plugins/fugitive.lua b/lua/plugins/fugitive.lua new file mode 100644 index 0000000..38009dc --- /dev/null +++ b/lua/plugins/fugitive.lua @@ -0,0 +1,12 @@ +return { + "tpope/vim-fugitive", + keys = { + -- Unmap the default mapping for gS (if it exists) + { "gS", false }, + + -- Define your custom mappings + { "gS", "Git", desc = "Git status" }, + { "gw", "Git add %", desc = "Git add {file}" }, + { "gbl", "Git blame", desc = "Git blame (vim fugitive)" }, + }, +}