summaryrefslogtreecommitdiff
path: root/lisp/init-text.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-12-30 21:26:52 -0500
committerKyle Meyer <kyle@kyleam.com>2014-12-30 21:26:52 -0500
commit7a9e2182b044e96d1274ef295527b18602b4e7bc (patch)
treeabe872de5351909750eb5ced022e14282102b6b1 /lisp/init-text.el
parent9114608625abc893c6ee944a8b88357ba3a01dac (diff)
downloademacs.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-text.el')
0 files changed, 0 insertions, 0 deletions