vim-hardy


Ⅰ. 插件描述

Arduino IDE intregation for vim.

Ⅱ. 基本信息

创建日期:  2015-05-18
使用用户:  16
Github星:  39
插件作者:  EvergreenTree

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '4evergreen4/vim-hardy'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '4evergreen4/vim-hardy'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '4evergreen4/vim-hardy'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/4evergreen4/vim-hardy

Ⅳ. 文档说明

vim-hardy

Introduction

vim-hardy adds support for the Arduino language 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 generated by Johannes Hoff's
script which is available at bitbucket.org/johannes/arduino-vim-syntax.

Requirements

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.

Installation

If you don't have a preferred installation method, I recommend installing
pathogen.vim, and then simply copy
and paste:

mkdir -p ~/.vim/bundle
cd ~/.vim/bundle
git clone git://github.com/4Evergreen4/vim-hardy.git

Any other plugin managers should work as well, such as vundle
or vim-plug.

Usage

To verify an Arduino file, run :ArduinoVerify. To compile and upload it, use
:ArduinoUpload.

Credits

  • Johannes Hoff and contributers to vim-arduino-syntax - Created the arduino syntax file.

License

vim-hardy is distributed under the same license as vim itself. See :help license.

添加新评论