Replies: 2 comments 6 replies
-
the 'm' keybinding is defined globally so unfortunately we can't rebind it just for one context. I'm open to changing this so that when we're not merging/rebasing, pressing 'm' on a branch asks you if you want to merge, but then while a merge/rebase is in progress, pressing 'm' gives you the option to continue/abort. This sounds like a more intuitive interface. Based on my googling, it's not possible to start a merge/rebase while already merging/rebasing. The downside would be that the same sequence of keys would yield a different result given the context (e.g. pressing m+enter when not merging/rebasing gives a different result to when you are merging/rebasing) but I doubt that would be a problem in reality. What are your thoughts on this @stefanhaller @mark2185 ? |
Beta Was this translation helpful? Give feedback.
-
Is there anything fundamental here that makes it so? It appears we can have same keystroke bound differently in different context, why cannot a context binding override global binding? @jesseduffield |
Beta Was this translation helpful? Give feedback.
-
I'd like to re-bind 'M' to 'm' for merge in the branches context. This conflicts with 'm' in the commits context for the rebase options, but I cannot think of why would I want that for branches. So two question:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions