Groups
Sign in
Groups
vim_use
Conversations
About
Send feedback
Help
vimdiff with only the different lines shown
16 views
Skip to first unread message
tu...@posteo.de
unread,
Nov 7, 2020, 2:15:02 AM
11/7/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
Hi,
is there a way to do a vimdiff of two files in a way, that only the
different (and on one or the other side missing) lines are shown?
With "shown" I don't want other lines to not to appear at all (that
is: not simply collaps but pure "not there").
Is that possible?
Cheers!
mcc
Richard Mitchell
unread,
Nov 7, 2020, 8:08:56 AM
11/7/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_use
Not vim, but you could:
diff file1 file2
|
grep
"^<"
# or "^>"
that would select either the left or right side.
Reply all
Reply to author
Forward
0 new messages