mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 14:19:55 -06:00
Fix Fugitive key mapping for push
This commit is contained in:
@@ -2,10 +2,7 @@
|
|||||||
{autoload {nvim aniseed.nvim
|
{autoload {nvim aniseed.nvim
|
||||||
nu aniseed.nvim.util
|
nu aniseed.nvim.util
|
||||||
core aniseed.core
|
core aniseed.core
|
||||||
util dotfiles.util
|
util dotfiles.util}})
|
||||||
fugitive fugitive
|
|
||||||
}})
|
|
||||||
|
|
||||||
|
|
||||||
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gp ":Git pull --rebase<CR>")
|
(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>"))
|
||||||
|
|||||||
Reference in New Issue
Block a user