Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MyDiffWin()
- let opt = ""
- if &diffopt =~ "icase"
- let opt = opt . "-i "
- endif
- if &diffopt =~ "iwhite"
- let opt = opt . "-b "
- endif
- execute '! ls '. v:fname_in
- silent execute "!/bin/diff.exe -a --binary " . opt . v:fname_in . " " . v:fname_new . " > " . v:fname_out
- endfunction
- set diffexpr=MyDiff()
- :! ls /home/mobaxterm/tmp/vD9PXDX/0
- Command terminated
Add Comment
Please, Sign In to add comment