summaryrefslogtreecommitdiff
path: root/lua/plugins/fugitive.lua
blob: 12a638581444b876d6ab01fc307ce133486785c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
  "tpope/vim-fugitive",
  dependencies = "tpope/vim-rhubarb",
  -- Only load when using one of the following commands:
  keys = {
    { "<leader>gs", "<cmd>G<CR>" }, -- G.it S.tatus
    { "<leader>gd", "<cmd>G difftool<CR>" }, -- G.it D.iff
    { "<leader>gm", "<cmd>Gvdiffsplit!<CR>" }, -- G.it M.erge
    { "<leader>gc", "<cmd>G commit<CR>" }, -- G.it C.ommit
    { "<leader>gu", "<cmd>G push<CR>" }, -- G.it push U.pstream
    { "<leader>gp", "<cmd>G pull<CR>" }, -- G.it P.ull
    { "<leader>gf", "<cmd>G fetch<CR>" }, -- G.it F.etch
  },
}