How do I jump to the next/prev diff in GIT difftool?

前端 未结 1 663
野趣味
野趣味 2021-01-11 22:01

I am using git difftool to compare 2 large files in VIM. I want to navigate only to the lines that differ.

How do I navigate quickly between lines that differ using

相关标签:
1条回答
  • 2021-01-11 22:38

    vim Has an extensive and pretty good helpfile. You would do yourself a favour trying to familiarize yourself with it.

    from :h diff

    3. Jumping to diffs                 *jumpto-diffs*
    
    Two commands can be used to jump to diffs:
                                    *[c*
        [c      Jump backwards to the previous start of a change.
                When a count is used, do it that many times.
                                    *]c*
        ]c      Jump forwards to the next start of a change.
                When a count is used, do it that many times.
    
    0 讨论(0)
提交回复
热议问题