Fix Fugitive key mapping for push

This commit is contained in:
Proctor
2022-10-03 12:56:39 -05:00
parent 76feada900
commit 022744ff0d

View File

@@ -2,10 +2,7 @@
{autoload {nvim aniseed.nvim
nu aniseed.nvim.util
core aniseed.core
util dotfiles.util
fugitive fugitive
}})
util dotfiles.util}})
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gp ":Git pull --rebase<CR>")
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gP (.. ":Git push origin" (FugitiveHead)))
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gP (.. ":Git push origin " (nvim.fn.FugitiveHead) "<CR>"))