Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 233587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:06:53+00:00 2026-05-11T20:06:53+00:00

scmdiff marks the differences between the checked in version of a file and the

  • 0

scmdiff marks the differences between the checked in version of a file and the file that’s being edited. It marks it by coloring the changed lines. Is there any way to view the changes using a vimdiff-style split instead of just coloring the changed lines?

For instance, if abc is a file under version control, then I can use the following to display the current version of abc on one side and the latest version on the other side:

tkdiff abc

I can also do:

tkdiff -r1 -r5 abc

to show the differences between versions 1 and 5. Finally, I can do:

tkdiff -r1 abc

to see the difference between the current version and version 1.

This is the sort of diff I’d like to see between two versions of a file, only using Vim. Can it be done? I’m working under Linux and I use Bitkeeper for version control.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:06:54+00:00Added an answer on May 11, 2026 at 8:06 pm

    I use the vcscommand plugin for interacting with a VCS.

    From the description:

    VIM 7 plugin useful for manipulating files controlled by CVS, SVN, SVK and git within VIM, including committing changes and performing diffs using the vimdiff system.

    In particular :VCSVimDiff will split the current window and show a “vimdiff” against the latest version in the repo. You can also specify one revision number to compare the current buffer to (i.e. :VCSVimDiff -2), or two revision numbers to diff to each other. Here is the relevant section from the docs:

    :VCSVimDiff

    Uses vimdiff to display differences between versions of the current
    file.

    If no revision is specified, the most recent version of the file on
    the current branch is used. With one argument, that argument is used
    as the revision as above. With two arguments, the differences between
    the two revisions is displayed using vimdiff.

    With either zero or one argument, the original buffer is used to perform
    the vimdiff. When the scratch buffer is closed, the original buffer
    will be returned to normal mode.

    Once vimdiff mode is started using the above methods, additional vimdiff
    buffers may be added by passing a single version argument to the
    command. There may be up to 4 vimdiff buffers total.

    Using the 2-argument form of the command resets the vimdiff to only those 2
    versions. Additionally, invoking the command on a different file will
    close the previous vimdiff buffers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 147k
  • Answers 147k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Best option is to scroll your page to the element… May 12, 2026 at 9:08 am
  • Editorial Team
    Editorial Team added an answer okey. It was a comma after the last property in… May 12, 2026 at 9:08 am
  • Editorial Team
    Editorial Team added an answer To my knowledge this isn't possible with SSRS 2005. The… May 12, 2026 at 9:08 am

Related Questions

No related questions found

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.