- gvim下载安装地址
首页:http://portablegvim.sourceforge.net/
- windows上右键添加gvim编辑
HKEY_CLASSES_ROOT/*/ 下添加项:shell
shell下添加项:edit with vim
edit with vim下添加项:command
command设置值为(包含双引号):"E:\tools\GVimPortable\GVimPortable.exe" -p --remote-tab-silent "%1"
- vim自己的一些配置
colo desert “设置默认主题
set encoding=utf-8 fileencodings=ucs-bom,utf-8,cp936 "让vim自动识别文件编码(UTF-8或者GBK),按照fileencodings提供的编码列表尝试,如果没有找到合适的编码,就用latin-1(ASCII)编码打开