When using securecrt during development, there is no graphical interface, and it is very difficult to view SVN version differences, mainly due to lack of graphical comparison under Win. Today we found a method to replace with vimdiff, which is better than simply looking at diff. However, we cannot choose to accept the version in a different place like win, you have to get started with the trade-off.
Create a file somewhere. If you do not have the permission or do not want to affect others, you are advised to place it in ~ /, Named. vimdiff. The content is as follows:
1#! /Bin/Sh2 # Configure your favorite diffProgramPath3Diff ="Vimdiff"4 # SVN diff command will pass in parameters of two files5Left =$ {6}6Right =$ {7}7 # Format required for splicing diff commands8$ Diff $ left $ right
Edit~ /. Subversion/config file, where
#Diff-Cmd = diff_program (Diff, Gdiff, etc .)
Replace
Diff-Cmd =/home/user-name/. vimdiff
You can. The effect is as follows: