mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 12:49:56 -06:00
update fugitive key mapping
This commit is contained in:
@@ -4,5 +4,6 @@
|
|||||||
core aniseed.core
|
core aniseed.core
|
||||||
util dotfiles.util}})
|
util dotfiles.util}})
|
||||||
|
|
||||||
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gp ":Git pull<CR>")
|
(nvim.ex.autocmd :FileType :fugitive :nmap :<buffer> :<leader>gp ":Git pull<CR>")
|
||||||
(nvim.ex.autocmd :FileType :fugitive :nmap :<leader>gP (.. ":Git push origin " (nvim.fn.FugitiveHead) "<CR>"))
|
;; Determine load time of fugitive
|
||||||
|
(nvim.ex.autocmd :FileType :fugitive :nmap :<buffer> :<leader>gP ":Git push<CR>" )
|
||||||
|
|||||||
Reference in New Issue
Block a user