Closed DanielRichtmann closed 5 years ago
Hi,
I just came across an inconsistency in the mapping of the keys (at least IMO):
While evil-magit binds gk and gj to move to the the next/previous sibling in the status window, there are no bindings for gh and gl.
evil-magit
gk
gj
gh
gl
Looking at, e.g., the evil bindings for org-mode, gh and gl get bound to move to the parent/child of the current heading.
org-mode
IMO gl doesn't make a lot of sense here but I think that gh might come in handy, so perhaps it should be bound, too.
Out of the current functionality in magit, the candidate for this is probably magit-section-up, which is what I currently bind in my config.
magit
magit-section-up
Let me know what you think. I can PR if you want me to.
I think it makes sense to me. Generally, unless there's a conflict I'm happy to try a binding out. If you want to submit a PR, I'd be happy to review it.
Hi,
I just came across an inconsistency in the mapping of the keys (at least IMO):
While
evil-magit
bindsgk
andgj
to move to the the next/previous sibling in the status window, there are no bindings forgh
andgl
.Looking at, e.g., the evil bindings for
org-mode
,gh
andgl
get bound to move to the parent/child of the current heading.IMO
gl
doesn't make a lot of sense here but I think thatgh
might come in handy, so perhaps it should be bound, too.Out of the current functionality in
magit
, the candidate for this is probablymagit-section-up
, which is what I currently bind in my config.Let me know what you think. I can PR if you want me to.