mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
12 lines
387 B
Lua
12 lines
387 B
Lua
return {
|
|
"tpope/vim-fugitive",
|
|
keys = {
|
|
-- Unmap the default mapping for <leader>gS (if it exists)
|
|
{ "<leader>gS", false },
|
|
|
|
-- Define your custom mappings
|
|
{ "<leader>gS", "<cmd>Git<cr>", desc = "Git status" },
|
|
{ "<leader>gw", "<cmd>Git add %<cr>", desc = "Git add {file}" },
|
|
{ "<leader>gbl", "<cmd>Git blame<cr>", desc = "Git blame (vim fugitive)" },
|
|
},
|
|
}
|