Skip to content

jplaut/vim-arduino-ino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim Arduino Ino

UPDATE: THIS PROJECT IS DEPRECATED

As of now, the Arduino Ino command line tool does not work with newer versions of the Arduino app. Thus, this tool will not work unless you install an older version of the Arduino app. If someone wants to contribute an update to Ino that supports newer versions of the app, they can submit a pull request to the current repo.

This script is based on Vim Arduino, but uses the [Ino][ino] command line utility instead of the Java Arduino compiler. It therefore runs in 64-bit environments and allows for compiling and deployment of Arduino (*.pde/*.ino) sketches directly from Vim.

Install

The plugin is structured for use with Pathogen so installation should be easy, assuming you have Pathogen installed.

Requirements

Ano must be installed on your computer for this plugin to work (Previously, Ino was used, but that repo is no longer maintained). To install Ano, you can install from source using the instructions here or npm install ano if you have npm installed.

If you plan on using this plugin with a board other than an Arduino Uno, you'll need to configure Ino to use that board by following the instructions found here.

Usage

Vim Arduino Ino can be run using the following keys:

<Leader>ac - Compile the current sketch.

<Leader>ad - Compile and deploy the current sketch.

<Leader>as - Open a serial port in screen.

In order for the build to complete successfully, your project directory will need to be set up like a normal ino project. For more information on ino project setup, see here.

Options

The default key mapping can be turned off by doing this in your .vimrc:

let g:vim_arduino_map_keys = 0

To open the serial monitor automatically after each deploy, add this to your .vimrc:

let g:vim_arduino_auto_open_serial = 1

To change the command used to build and deploy :

let g:vim_arduino_ino_cmd = 'ano'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published