mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 12:49:56 -06:00
Fix Fugitive key mapping for push
This commit is contained in:
@@ -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>"))
|
||||
|
||||
Reference in New Issue
Block a user