how can i set a keymap which using neogit push #1514
Replies: 2 comments 4 replies
-
{
'gp',
require("neogit").action("push", "to_pushremote", {}),
desc = 'NeoGit push',
} The value is not a string, but just lua. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Yep but it does nothing
When I type it as git command
…On Mon, 21 Oct 2024 at 14:05 Cameron ***@***.***> wrote:
If you just enter :lua require("neogit").action("push", "to_pushremote",
{})() as a vim command, you should see a notification appear that it's
pushing. Is that right?
—
Reply to this email directly, view it on GitHub
<#1514 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJMPARVGX5TLARA2TDPHCDDZ4TNV5AVCNFSM6AAAAABQJ2EGTGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBQGQYTQMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to set a keymap for using Neogit to push. I tried the following:
{
'gp',
' lua require("neogit").action("push", "to_pushremote", {})',
desc = 'NeoGit push',
}
Could someone help me with this?
Beta Was this translation helpful? Give feedback.
All reactions