Arduino IDE intregation for vim.
VimL
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
ftdetect
ftplugin
indent
syntax
README.markdown

README.markdown

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.