neogit
neogit copied to clipboard
Suggestion: extend accessibility by improving mapping config
Instead of:
finder = {
["<cr>"] = "Select",
["<c-c>"] = "Close",
...
}
finder = {
select = { "<cr>" },
close = { "<c-c>" },
...
}
Allowing to set multiple mappings per action.
A change like this could be added as addition to the current config with a deprecation notice for the current values, the notice should turn into a warning after some weeks before the old config is removed.
Custom description may be useful too.
finder = {
select = { { "<CR>" }, " Select item" }
}
Sorting in the help menu by description will improve readability - you can always specify some prefix or symbol to group together. diffview.nvim acts like this.