Moritz Bunkus: > the default action was reachable with the same key pressed twice, > e.g. "z z" for stashing. That's just as fast as a single keystroke while > still allowing for grouping and therefore for maximum flexibility.
Yes a doubled keystroke looks quite convenient as well. > Other examples that I definitely dislike: > Pushing: "Pp" at the moment, requires state change in shift. Agreed, change in shift is a no-no. It is so error-prone that word processors even have implemented autocorrection for it: http://word.tips.net/Pages/T000481_Turning_Off_Capital_Corrections.html >> I am not sure the Ctrl-u prefix is the best key combination/user >> interface ever but it is consistent with all other user interfaces in >> emacs and very flexible. > > I honestly don't think so. I've tried extending magit's old (pre key > group) system with prefix handling and it was really, really painful to > remember which prefix did what in which circumstance. > Additionally you cannot map the flexibility of the log functions > onto the prefix system -- at least not in a sane way. I do not see why it is harder to remember a prefix compared to a second key. [Now just throwing a few ideas, do not take any of them too seriously] You could imagine something like: l : short log Ctrl-u l l : long log Ctrl-u l x : whatever log etc. ... the prefix just being a gateway to long, infrequent commands. It takes no effort to remember Ctrl-u since you have to remember it anyway for zillions of other emacs commands. I am not saying I am in love with Ctrl-u but it is going to stay with or without magit. Uppercase is a good alternative: l short L L long L X whatever
