Ⅰ. 插件描述
Simple build system for Vim based on makefilesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'unintendedsideeffect/vim-baker'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'unintendedsideeffect/vim-baker'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'unintendedsideeffect/vim-baker'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/unintendedsideeffect/vim-baker
Ⅳ. 文档说明
# Baker - Better :make!
Baker is a plugin for the fantastic vim editor.
The Plugin intends to be a simple build system based on makefiles. It
intoduces a new command :Baker
which set the makeprg
option and calls :make
.
Motivation
Imagine you have a makefile with multiple targets e.g. release, test and debug.
I wanted this targets to be listed as completions for the :make
command.
So I could see all available targets, select my prefered ones by hitting
tab a few times and finally invoke :make
on them. This relieves me from
remembering and typing these targets all over again, when I have to use :make
.
Installation
Use your favorite plugin manager.
Using vim-plug
Plug 'UnintendedSideEffect/vim-baker'
Getting Help
For those who seek the enlightenment, see :h baker
. May you find what you're
looking for.
Contribute
Some rules from Google Vimscript Guide were used as reference.
If you find a bug or have ideas for improvement, feel free to open an issue.