ce6e28601f
This patch defines key bindings with leader key instead of evilified state to make it easier for people those who edit in vim style to use diff-mode for both of editing and reviewing files/buffers. There are two use cases for diff-mode: (1) to manually edit diff in a patch file (2) to review diff that is generated by `vc-diff' or similar commands The evilified state is useful for the case (2), but is confusing for the case (1). Usually, users of vim editing style expect that they are in normal state when a new buffer is created. However, when evilified state is used for the case (1), some keys insert their character in a buffer, which let the users think they are in insert state and keep hitting keys to edit the buffer, while other keys invoke commands or change contents of buffer, which let them think they are in normal state, so finally the user get lost what state they are in if they don't know evilified state is used for diff-mode. The changeset |
||
---|---|---|
.. | ||
git | ||
github | ||
perforce | ||
version-control |