Ⅰ. 插件描述
Arduino IDE intregation for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/hardy'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/hardy'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/hardy'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Hardy
Ⅳ. 文档说明
vim-hardy provides support for Arduino in vim. It covers syntax, compilation,
and verification for Arduino code. I decided to call this plugin "vim-hardy"
because "Arduino" means "hardy friend" in italian. Note that I did not
write the arduino syntax file, it was created by Johannes Hoff, and is available here:
vimscript#2654
Arduino IDE version 1.5.0 and up is required for the compilation and uploading
of Arduino code. By default, vim-hardy looks for it in your PATH, but you can
specify an installation directory with "g:hardy_arduino_path`"
To verify an Arduino file, run ":ArduinoVerify". To compile and upload it, use
":ArduinoUpload". For information on any options and other features, see
"doc/hardy.txt".
For development versions and bug reports, see the Github repository:
https://github.com/4Evergreen4/vim-hardy
Any feedback can be sent to evergreenubuntu[AT]gmail[DOT]com