diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-12-30 21:26:52 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-12-30 21:26:52 -0500 |
commit | 7a9e2182b044e96d1274ef295527b18602b4e7bc (patch) | |
tree | abe872de5351909750eb5ced022e14282102b6b1 /lisp/init-shell.el | |
parent | 9114608625abc893c6ee944a8b88357ba3a01dac (diff) | |
download | emacs.d-7a9e2182b044e96d1274ef295527b18602b4e7bc.tar.gz |
Add display-only version of git-rebase-show-commit
Bind this version to SPC. This is more consistent with behavior in the
log buffer, where RET shows the commit and switches to that buffer and
SPC just displays the commit.
However, the SPC variants still differ in their scrolling behavior. In
the log buffer, SPC (magit-diff-show-or-scroll-up) will scroll if the
buffer is already displayed, but km/git-rebase-show-commit doesn't
support this. While it'd be nice to use magit-diff-show-or-scroll-up
directly, this isn't easy to do because magit-diff-show-or-scroll-up
doesn't take a revision argument (it pulls it directly from the magit
section).
Diffstat (limited to 'lisp/init-shell.el')
0 files changed, 0 insertions, 0 deletions