Skip to main content

All Questions

Tagged with
2 votes
1 answer
1k views

diff each individual line in first file against all lines in second file?

I have 2 TCL representations of a project that get generated by 2 different versions of the same tool, let's call them v1.tcl and v2.tcl These logs are normally logically identical for all intents ...
IDLacrosseplayer's user avatar
2 votes
1 answer
946 views

Vimdiff functionality in Sublime Text 2

I wanted to know if it is possible to have a vimdiff like functionality to check for diff and have synchronized scrolling of two (or more) files in Sublime Text 2 just like vimdiff? Thanks
Sandeep Raju Prabhakar's user avatar
3 votes
1 answer
2k views

Key to close a fold in vimdiff?

Pressing spacebar on a + fold in vim in diff mode causes the fold to open. What and where do I key if I want to close the fold again?
Cris Stringfellow's user avatar
8 votes
5 answers
5k views

Vimdiff and git all at once

I use vimdiff as my difftool with git. Let's say that I've changed twelve files. The problem is that sometimes I run git diff and around the fourth or fifth file I see something that I want to edit/...
So8res's user avatar
  • 1,519
2 votes
1 answer
2k views

VIM: How to diff specific lines in two different files

How might one diff lines 2-4 in fileA and lines 8-10 in fileB? Also, is it possible to visually select the lines in each file instead of writing down the line numbers? Thanks!
dotancohen's user avatar
  • 11.5k
56 votes
4 answers
45k views

vimdiff: Jump to next difference inside line?

vimdiff is very handy for comparing files. However, I often use it on files with long lines and relatively few differences inside the lines. vimdiff will correctly highlight differences inside a line ...
sleske's user avatar
  • 23.2k
30 votes
1 answer
12k views

how can I tell vimdiff to ignore whitespace?

I made a number of changes in a file I'm working on, including indentation changes. I'm using vimdiff to compare the file to the original version, and I don't want to see these changes, since they're ...
Nathan Fellman's user avatar