summaryrefslogtreecommitdiff
path: root/after/plugin/fugitive.lua
blob: a8aa35c35b326703a0d57b9c38f9fd6223942764 (plain)
1
2
3
4
5
vim.keymap.set("n", "<leader>gs", vim.cmd.Git)
vim.keymap.set("n", "<leader>gb", ":Git blame<CR>")
-- see docs for more details
vim.keymap.set("n", "<leader>gk", ":diffget //3<CR>") -- get diff from upstream (merge)
vim.keymap.set("n", "<leader>gj", ":diffget //2<CR>") -- get diff from downstream (target)