You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Major bonus points if you can figure out how to replace (scroll-all-mode) with your function (I think you could do it in a post-command-hook?), in which case I don't think you'd even need the keybinding. EDIT: actually I guess you'd still need the keybinding since there's still the possibility of scrolling the buffers in a way that isn't handled by the proposed post-command-hook... So maybe we wouldn't get much out of replacing (scroll-all-mode)...
JohnC32
added a commit
to JohnC32/diffview-mode
that referenced
this issue
Mar 22, 2022
1. Add Diffview menu
2. Add diffview--next-file bound to "}" (similar to diff-mode)
3. Add diffview--prev-file bound to "{"
4. Add diffview--align-windows bound to "l". This is from issue mgalgs#1, 'Aligning Windows'. I briefly looked at trying to use align windows instead of scroll-all-mode per the comment on the issue. However, I couldn't get it work work nicely.
The side by side windows can become unaligned depending on how we navigate the buffers.
I came up with this function to solve this:
It could be added to
diffview-mode-map
on a key such asl
, what do you think ?The text was updated successfully, but these errors were encountered: