Replies: 2 comments 4 replies
-
I'm interested in the feature and could contribute, if this is something zyedidia wants to implement. |
Beta Was this translation helpful? Give feedback.
-
As a rough outline, my plan is as follows:
A (very rough) draft of portions of this is in https://github.com/ilyagr/micro/tree/diffdraft2 currently. A significant obstacle is that there needs to be some way to test all of this functionality. After that, some additional important steps will be:
And in some uncertain future, we could make it possible to diff more than 2 files at a time (like the 4-pane view for merges in Vim, but hopefully better), but this might be beyond the scope of this feature. |
Beta Was this translation helpful? Give feedback.
-
I think it would be very useful to have an easy-to-use TUI for viewing and editing diffs, a cross between
vimdiff
andmeld
. I am specifically interested in this because of jj-vcs/jj#48, but it would also be very useful for any users of bothgit
andssh
who are unfamiliar with vim.At a glance,
micro
seems like a great foundation for a diff tool, and a diff mode would be a nice addition tomicro
(it was requested in #2510 and #1244). @zyedidia, do you think this is a good idea? Would this be in scope formicro
? Would you review pull requests on this topic?I would probably first work on scroll lock between files based on a diff (micro already seems to understand the concept of diffs for the diff gutters).
Not to raise anybody's hopes too much, I would be working on this in my free time, so there's no guarantee anything would come out of this quickly or at all, even if @zyedidia is willing.
Beta Was this translation helpful? Give feedback.
All reactions