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