vimdiff file1 file2 … 혹은 vim -d file1 file2… 명령으로 실행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.zo - open folded textzc - close folded textCtrl W + Ctrl W - Switch to the other split window.:diffthis on each window and achieve a diff of files that were already loaded in buffers:diffoff can be used to turn off the diff mode. Ctrl+Alt+Down 으로 다음 차이로 이동Ctrl+Alt+Up 으로 이전 차이로 이동nnoremap <expr> <silent> <C-A-Down> (&diff ? "]c" : ":cnext\<CR>") nnoremap <expr> <silent> <C-A-Up> (&diff ? "[c" : ":cprev\<CR>")
:set diffopt+=iwhite