Git Product home page Git Product logo

Comments (5)

jdtsmith avatar jdtsmith commented on August 10, 2024 1

Picking this back up. It would be nice to (m)ark a node (or (u)nmark it), navigate around using the normal vundo nav functions, then (d)iff between the marked and current node (by default, the prior node, as above). I can take a look.

from vundo.

jdtsmith avatar jdtsmith commented on August 10, 2024 1

This is implemented in #78.

from vundo.

casouri avatar casouri commented on August 10, 2024

Oh Cool! I guess it can be useful when you couldn't tell what was changed in an undo. You can use undo-hl but this is another way. I'll see what I can come up with when I find som time. Thanks!

from vundo.

jdtsmith avatar jdtsmith commented on August 10, 2024

Yeah especially for "big" diffs like copying in a bunch of changes from another version, or a complex find/replace, it really helps. I probably use it 1 in 20 times I invoke vundo. Compared to undo-tree, I actually find I prefer the diff not to change as I move around nodes, i.e. only when invoked. That said, it would be very nice to highlight the node from which diff was invoked in some way. I.e. add another overlay that does vundo--highlight-node but in diff-header face color.

One thing I didn't quite figure out was what (vundo--refresh-buffer orig (current-buffer) 'incremental) really does, so I sprinkled them in until it worked ;). Probably this could be streamlined.

from vundo.

gitrj95 avatar gitrj95 commented on August 10, 2024

This would be great for my workflow. Thanks.

from vundo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.