ghewgill / vim-scmdiff Goto Github PK
View Code? Open in Web Editor NEWVim script to highlight lines changed from a base version in SCM
Vim script to highlight lines changed from a base version in SCM
I have two hg repos, one in a test env and another in a live env. Comparing to head is fine, but a lot of times I want to compare my current buffer to the same file in the other account.
I guess I would phrase it as:
When editing "/ud/TEST/foo.txt" and hit binding, diff to "/ud/LIVE/foo.txt" and vice versa. When in LIVE, compare to TEST. I would not want to replace the ability to compare to repo, just in addition to.
I started recently to use pathogen (https://github.com/tpope/vim-pathogen) with my .vim/ files, inside I also use git submodules to track some vim plugins from other people. So I pull from your scmdiff github repo directly.
It would be nice for people using pathogen to have your repo with the .vim file inside its final directory, like this:
NEWS
README
TODO
plugin/scmdiff.vim <-------
This way, it can be pulled you repo and scmdiff works out of the box inside the .vim/ with pathogen.
I know it is a silly suggestion, I just say it in case it would be interesting to you :-)
Thanks in advance.
Hi,
It would be cool to be able to navigate with scmdiff to the lines that have been modified.
It would be nice to be able to do the split screen diff for side-by-side viewing of the versions of the file.
Hello, I understand that this plugin is based on vimdiff which uses split-view to show the differences between two files, but is it possible make it work in multi-window mode ?
I usually have 2+ views in the same vim session ( of different files ) and this plugin fails, when I toggle \d (i think) i tries to vimdiff between the opened files.
If you delete lines, SCMDiff does not show which lines were deleted. It only shows changed and added lines. I'm not sure what the best approach for this would be, however, without actually changing the content of the buffer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.