fixing fugitive issue
This commit is contained in:
parent
f761a740a4
commit
2faba1bcba
@ -16,13 +16,14 @@ return {
|
|||||||
|
|
||||||
local bufnr = vim.api.nvim_get_current_buf()
|
local bufnr = vim.api.nvim_get_current_buf()
|
||||||
local opts = {buffer = bufnr, remap = false}
|
local opts = {buffer = bufnr, remap = false}
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>P", function()
|
vim.keymap.set("n", "<leader>P", function()
|
||||||
vim.cmd.Git('push')
|
vim.cmd.Git('push')
|
||||||
end, opts)
|
end, opts)
|
||||||
|
|
||||||
-- rebase always
|
-- rebase always
|
||||||
vim.keymap.set("n", "<leader>p", function()
|
vim.keymap.set("n", "<leader>p", function()
|
||||||
vim.cmd.Git({'pull', '--rebase'})
|
vim.cmd.Git('pull')
|
||||||
end, opts)
|
end, opts)
|
||||||
|
|
||||||
-- NOTE: It allows me to easily set the branch i am pushing and any tracking
|
-- NOTE: It allows me to easily set the branch i am pushing and any tracking
|
||||||
|
Loading…
x
Reference in New Issue
Block a user