Easy-to-use Vim _ vimrc File
Replace _ vimrc under c: \ Program Files \ Vim
Content:
Set nocompatible
Source $ vimruntime/vimrc_example.vimsource $ vimruntime/mswin. vimbehave mswin set backspace = indent, EOL, startset rulerset show1_set wildmenuset fo = cqrtset laststatus = 2 set textwidth = 78 set WW = <,>, H, lset autoindentset noeb visualbellset expandtabset tabstop = 4 set sequence = 4 set expandtablet mapleader = "," syn onfiletype plugin onfiletype indent onset nobackupset nu set diffexpr = mydiff () funct Ion mydiff () Let opt = '-A -- binary' If & diffopt = ~ 'Icase' | let opt = opt. '-I' | endif if & diffopt = ~ 'Iwhite' | let opt = opt. '-B' | endif let arg1 = V: fname_in if arg1 = ~ ''| Let arg1 = '"'. arg1. '"' | endif let arg2 = V: fname_new if arg2 = ~ ''| Let arg2 = '"'. arg2. '"' | endif let arg3 = V: fname_out if arg3 = ~ ''| Let arg3 = '"'. arg3. '"' | endif let eq ='' if $ vimruntime = ~ ''If & SH = ~ '\ <Cmd' let cmd = '""'. $ vimruntime. '\ diff "'Let eq ='" 'else let cmd = substitute ($ vimruntime ,'','"',''). '\ diff "' endif else let cmd = $ vimruntime. '\ diff 'endif silent execute '! '. Cmd. ''. Opt. arg1.''. arg2.'> '. arg3. eqendfunction