return { "tpope/vim-fugitive", keys = { { "gx", [[G]], { noremap = false, silent = true, desc = "Toggle [G]it status window" } }, { "gs", [[Git]], { noremap = false, silent = true, desc = "Toggle [G]it [S]tatus window" } }, { "gfd", [[Gdiffsplit]], { noremap = false, silent = true, desc = "[G]it [D]iff current file against index with [F]ugitive" }, }, { "gc", [[Git commit]], { noremap = false, silent = true, desc = "[G]it [C]ommit" } }, { "gb", [[Git blame -C]], { noremap = false, silent = true, desc = "[G]it [B]lame" } }, { "gp", [[Git push]], { noremap = false, silent = true, desc = "[G]it [P]ush" } }, { "gf", [[Git push --force]], { noremap = false, silent = true, desc = "[G]it [F]orce push" } }, { "gu", [[Git pull]], { noremap = false, silent = true, desc = "[G]it p[U]ll" } }, { "gh", [[Git diff --cached]], { noremap = false, silent = true, desc = "[G]it diff current staged changes" }, }, { "go", [[GBrowse]], { noremap = false, silent = true, desc = "[B]rowse [G]it URL for fugitive object under cursor" }, }, { "v", "go", [['<,'>GBrowse]], { noremap = false, silent = true, desc = "[B]rowse [G]it URL for selected lines" }, }, }, }