Escape usually means to:
1. Return to normal mode.
2. Abort the minibuffer.
By binding it to quit-window (or equivalent), hitting escape a few times
to exit a (potentially recursive) minibuffer, etc. can cause buffers to
vanish.
It's also:
1. Inconsistently applied.
2. Redundant with "q" (which is consistently applied).
Keybinding for magit-mode-map has also changed, Z is now magit-worktree
instead of magit-stash. Remap it to magit-stash. Magit-worktree still
has its old mapping to %.
magit-worktree has been moved from "%" to "Z" in transient prefix
magit-dispatch in commit 9bec1c54ab0705eb68ae4aa6c8a0498999a018f6.
When mapping magit-stash to Z in magit-dispatch due to
evil-collection-magit-use-z-for-folds, first move magit-worktree back to
its original keybinding to avoid collision.
`magit-show-refs-popup` and `magit-dispatch-popup`
have been renamed without "-popup".
Define magit-show-refs as a transient command
c3135cdb23
Define magit-dispatch as a transient command
dde9a5b77a
And make the docstring more readable,
with the related key and command on the same line.
This change adjusts the formatting of the instructions in the `git-rebase`
buffer to allow them to be properly formatted when git's `core.commentChar` is
set to `%`. In particular, lines will look something like this:
```
%-8s p
```
The root cause seems to be the how the lines are constructed: comment characters
are directly added to the format string. When it is `%`, `format` appears to
proceed until it finds the next `%` character, (corresponding to the `%` in
`%-8s`) above and prints it directly to the string rather than interpreting it
something to format.
This is fixed by constructing the format string with the comment character as an
argument to `format` rather than being added directly to the format string.
Fixes#468.
Later we use lookup-key in this way:
(lookup-key aux-map (kbd (car cmd)))
which was slightly different from how we were defining the keymap which resulted
in M-j & M-k not being bound or displayed properly.
Fix test failure in when testing original section bindings:
+ `((,(copy-keymap magit-file-section-map) "\C-j" magit-diff-visit-worktree-file)
+ (,(copy-keymap magit-hunk-section-map) "\C-j" magit-diff-visit-worktree-file))
Move setup files into subdirectories. Move mode directories to modes subdir.
This will make it easy to specify a recipe in melpa that maintains the directory
structure. Add interactive functions to jump to .el and README files
See #170