Ⅰ. 插件描述
A somehow smarter version of the make commandⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/smartmake'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/smartmake'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/smartmake'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/smartmake
Ⅳ. 文档说明
This plugin provides a smart version of the :make command: Before running the compiler, it scans the current and all parent directories to figure out which compiler to use. It provides a command called "SmartMake". When neither "no_plugin_maps" nor "no_smartmake_maps" are set F7 will be bound to that command. Currently supported compile flavours: make, ant and nant.