On Mon, Apr 18, 2011 at 11:08 PM, Óscar Fuentes <[email protected]> wrote:
> PJ Weisberg <[email protected]> writes:
>
> [snip]
>
>> Someone mentioned on this list that keybindings were a controversial
>> topic, so I thought I'd mention this here, because I bound those
>> "back" and "forward" functions I added to <M-left> and <M-right> in
>> the commit buffer.  (Firefox and Chrome use those keys for back and
>> forward.)  However, magit-mode already binds <M-left> to
>> magit-goto-parent-section.  Does that seem like an acceptable change,
>> or should I pick a different binding?
>
> <M-right> is forward-word, as usually. <M-left> is not bound to
> backward-word on the commit buffer by accident, I guess.

The commit buffer, and all other Magit buffers.

> Those bindings are very common on Emacs and I'm sure that there are
> people that use them for moving the cursor around. I recommend using
> different bindings.

Which bindings would you suggest?

I was actually a little surprised to see Emacs binds M-(left/right) to
the same functions that C-(left/right) are bound to.  If I had to
guess I would think that more people are used to using the C-
versions, since those also work outside of Emacs.  That, and no one
seems to have had a problem with using <M-left> for
magit-goto-parent-section up til now.  (It might actually make more
sense to have magit-goto-parent-section on an "up" key rather than a
"left" key, IMO.)

Reply via email to