VIM diff 模式使用

vimdiff mode:

do -- Get changes from other window into the current window.
dp -- Put the changes from current window into the other window.
]c -- Jump to the next change.
[c -- Jump to the previous change.
Ctrl W + Ctrl W -- Switch to the other split window.
:diffupdate -- diff update
:syntax off -- syntax off
zo -- open folded text
zc -- close folded text 

猜你喜欢

转载自qianjigui.iteye.com/blog/1969603
今日推荐