From ed8084bf7c2680e4c3762d04c86a2c5ccf22f138 Mon Sep 17 00:00:00 2001 From: Patrick Auernig Date: Sat, 7 Sep 2024 17:50:35 +0200 Subject: [PATCH] plugins/neogit: add keybind to push local commits --- lua/valeth/plugins/neogit.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/valeth/plugins/neogit.lua b/lua/valeth/plugins/neogit.lua index a032e92..2ec7182 100644 --- a/lua/valeth/plugins/neogit.lua +++ b/lua/valeth/plugins/neogit.lua @@ -7,8 +7,9 @@ spec.dependencies = { } spec.keys = { - { "vs", "Neogit", desc = "Open NeoGit" }, - { "vc", "Neogit commit", desc = "Open NeoGit commit" }, + { "vs", "Neogit", desc = "Open NeoGit" }, + { "vc", "Neogit commit", desc = "Open NeoGit commit" }, + { "vpu", "!git push", desc = "Push local commits to upstream" }, } spec.config = true