diff
kitten feature enhancements for terminal power users
#7143
Labels
diff
kitten feature enhancements for terminal power users
#7143
Is your feature request related to a problem? Please describe.
What stops the
diff
kitten being a useful tool in my opinion are these two lacking features:Describe the solution you'd like
For 1. - be able to select hunks with the keyboard and transfer them to the other file, similar to how hints work. For example we could have
ctrl+shift+p>k
to bring up the interface for selecting a hunk with the numbering/lettering system. Then if the hunk does exist in one file and not the other it should be copied over. Maybe actrl+shift+p>d
for deleting hunks. I'm sure we can come up with a reasonable behavior. We also need some undo/redo or cancel operation somehow.For 2. - something like a dual panel similar to
meld
would be nice where files that have differences are color-coded, then we should be able to select which file we want to open in the per-file diff view.Describe alternatives you've considered
Replace using the
diff
kitten withmeld
which is a GUI app, I'd rather stay inkitty
if possible.Additional context
Example
meld
selection panel for directory diff:Example
meld
transferring from one file to the other in per-file diff view:The text was updated successfully, but these errors were encountered: