Open justmytwospence opened 6 years ago
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.
It would be intuitive if the Vim folding keybinding worked for magit chunks. Eg:
zr
Opened all chunksza
Toggled a chunkzc
Closed all chunkzc
Closed a foldzo
Opened a chunkzO
Opened a chunk recursivelyObviously, 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.