Ⅰ. 插件描述
Compile Visual Studio 6 projects and search in MSDN help files using VIMⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/vimvs6'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/vimvs6'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/vimvs6'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/VimVS6
Ⅳ. 文档说明
This script provides a way to compile and link MS Visual Studio 6 C++
projects, jump to compiler errors, start .exe file and look up in MSDN
help files from within VIM.
There are other projects that try to integrate VIM in Visual Studio.
VimVS6 does it the other way around and tries to integrate Visual Studio
in VIM ;-) (don't take this too seriously)
Visual Studio can export a make file for nmake (see menu
Project -> Export Makefile... in Visual Studio). Nmake is included in
Visual Studio 6. VimVS6 compiles a Visual Studio 6 project using nmake
and the exported makefile.
Usage:
<F5>: make project
<S-F5>: make all
<C-F5>: start .exe file
<F2>: search for help in MSDN files for word under cursor
Once per VIM session the function VVS_SetEnvironment() must be called
to specify paths VimVS6 looks for the project files.
Do :call VVS_SetEnvironment( 'projectpath', 'projectname' )
E.g. :call VVS_SetEnvironment( 'f:progGALer', 'GALer' )
This call is not needed if only MSDN help search is used.
For details on configuration see script header.