[英]How do I jump to the next/prev diff in GIT difftool?
我使用git difftool来比较VIM中的2个大文件。 我只想导航到不同的行。
如何使用GIT difftool在不同的行之间快速导航?
我正在寻找像winmerge快捷键的东西:
Alt + down - 下一步更改
Alt + Up - 上一次更改
vim
有一个广泛而且非常好的帮助文件。 试着熟悉它,你会帮自己一个忙。
来自: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.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.