fixing fugitive issue

pull/791/head
Lorne Stalker 2 years ago
parent f761a740a4
commit 2faba1bcba

@ -16,13 +16,14 @@ return {
local bufnr = vim.api.nvim_get_current_buf()
local opts = {buffer = bufnr, remap = false}
vim.keymap.set("n", "<leader>P", function()
vim.cmd.Git('push')
end, opts)
-- rebase always
vim.keymap.set("n", "<leader>p", function()
vim.cmd.Git({'pull', '--rebase'})
vim.cmd.Git('pull')
end, opts)
-- NOTE: It allows me to easily set the branch i am pushing and any tracking

Loading…
Cancel
Save