Guest User

Untitled

a guest
Feb 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. function MyDiffWin()
  2. let opt = ""
  3. if &diffopt =~ "icase"
  4. let opt = opt . "-i "
  5. endif
  6. if &diffopt =~ "iwhite"
  7. let opt = opt . "-b "
  8. endif
  9. execute '! ls '. v:fname_in
  10. silent execute "!/bin/diff.exe -a --binary " . opt . v:fname_in . " " . v:fname_new . " > " . v:fname_out
  11. endfunction
  12. set diffexpr=MyDiff()
  13.  
  14. :! ls /home/mobaxterm/tmp/vD9PXDX/0
  15.  
  16. Command terminated
Add Comment
Please, Sign In to add comment