Comments (5)
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.
This is implemented in #78.
from vundo.
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.
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.
This would be great for my workflow. Thanks.
from vundo.
Related Issues (20)
- Stress-testing vundo HOT 4
- Limit the size of the displayed history to speed up Vundo HOT 42
- New release? HOT 4
- Highlighting nodes of saves - extend? HOT 20
- jit-lock errors HOT 1
- Error in the customization menu HOT 3
- diff not working in some buffers HOT 9
- Exiting vundo should (optionally) exit vundo-diff HOT 1
- Make release 2.5.0 official HOT 2
- Setting to Unicode Fails in init HOT 3
- Support undo/redo history across restarts HOT 2
- Love this package, thank you! HOT 1
- Option to move cursor one character back? HOT 4
- Make forward remember which branch back came from? HOT 7
- BUG: duplicates on `vundo--timestamps`
- Debugger entered--Lisp error: (void-function vundo-diff--quit) HOT 6
- Idea: on-demand quick-drawing to mitigate long-line issues
- Remove all undo/redo history for current buffer? HOT 5
- Tree branches not properly aligned, branch doesn't start at branching point HOT 4
- diff doesn't work on Windows OS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vundo.