Skip to content

Neogit mappings #1172

Closed Answered by GaetanLepage
atimofeev asked this question in Q&A
Feb 29, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey !
I just merged a rewrite of the plugins.neogit module.
This should be possible.
You can find an example in the tests:

mappings = {
commit_editor = {
q = "Close";
"<c-c><c-c>" = "Submit";
"<c-c><c-k>" = "Abort";
};
rebase_editor = {
p = "Pick";
r = "Reword";
e = "Edit";
s = "Squash";
f = "Fixup";
x = "Execute";
d = "Drop";
b = "Break";
q = "Close";
"<cr>" = "OpenCommit";
gk = "MoveUp";
gj = "MoveDown";
"<c-c><c-c>" = "Submit";
"<c-c><c-k>" = "Abort";
};
finder = {
"<cr>" = "Select";

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@atimofeev
Comment options

@GaetanLepage
Comment options

Answer selected by atimofeev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants