evil-magit
evil-magit copied to clipboard
Evil-style chunk folding
It would be intuitive if the Vim folding keybinding worked for magit chunks. Eg:
-
zrOpened all chunks -
zaToggled a chunk -
zcClosed all chunk -
zcClosed a fold -
zoOpened a chunk -
zOOpened a chunk recursively
Obviously, this would come at the cost of changing the keymap binding for stash operations, but that isn't very semantically named in the first place, so I personally don't see that as a huge deal.
Thanks. Try dbf5a646a7ce1c35c229dfdc423bd5ecd927a3a8
I wasn't sure what the right choice for zr was. I also took the liberty of adding z[1-4] which would be nonstandard for vim but seem useful.
I'm open to suggestions for changes.