Neogit mappings #1172
Neogit mappings
#1172
-
I've tried many different ways, but I can't get custom mappings working for Neogit setup. This is my neovim config for neogit mappings: mappings = {
commit_editor = {
["q"] = "Close",
["<M-c>"] = "Submit",
["<M-k>"] = "Abort",
},
popup = {
["p"] = "PushPopup",
["P"] = "PullPopup",
},
}, How to do this correctly? |
Beta Was this translation helpful? Give feedback.
Answered by
GaetanLepage
Mar 1, 2024
Replies: 1 comment 2 replies
-
Hey ! nixvim/tests/test-sources/plugins/git/neogit.nix Lines 139 to 215 in 8c0bdb1 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
atimofeev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey !
I just merged a rewrite of the
plugins.neogit
module.This should be possible.
You can find an example in the tests:
nixvim/tests/test-sources/plugins/git/neogit.nix
Lines 139 to 215 in 8c0bdb1