gVim配置文件分享
前言 直接可以把这个配置覆盖掉现在安装目录Vim底下的 "_vimrc" 文件 效果图 Code: set number set tabstop=4 set softtabstop=4 set shiftwidth=4 set mouse=a set smartindent set nu set textwidth=0 set guifont=Courier_New:h14:cANSI colorscheme evening map <F9> : !g++ % -o %<.exe -g -Wall -Wextra -Wconversion && size %<.exe <CR> map <F12> : !python % <CR> map <F5> : !gdb %< <CR> map <F11> : !javac % <CR> map <F10> : !java %< <CR> source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin set diffexpr=MyDiff() function MyDiff() let opt = '-a --binary ' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if