From 022744ff0ddbfcb1ddac999303fea7f401b40e7a Mon Sep 17 00:00:00 2001 From: Proctor Date: Mon, 3 Oct 2022 12:56:39 -0500 Subject: [PATCH] Fix Fugitive key mapping for push --- nvim/.config/nvim/fnl/dotfiles/plugin/fugitive.fnl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nvim/.config/nvim/fnl/dotfiles/plugin/fugitive.fnl b/nvim/.config/nvim/fnl/dotfiles/plugin/fugitive.fnl index 65771a1..13e7f40 100644 --- a/nvim/.config/nvim/fnl/dotfiles/plugin/fugitive.fnl +++ b/nvim/.config/nvim/fnl/dotfiles/plugin/fugitive.fnl @@ -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 :gp ":Git pull --rebase") -(nvim.ex.autocmd :FileType :fugitive :nmap :gP (.. ":Git push origin" (FugitiveHead))) +(nvim.ex.autocmd :FileType :fugitive :nmap :gP (.. ":Git push origin " (nvim.fn.FugitiveHead) ""))