我正在使用git difftool比较VIM中的2个大文件。我只想导航到不同的行。
如何使用GIT difftool在不同的行之间快速导航?
我正在寻找诸如winmerge快捷键之类的东西:
Alt +向下-下一步更改
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.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句