Ⅰ. 插件描述
A vim plugin for automatic Arduino syntax generation and more...Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'z3t0/arduvim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'z3t0/arduvim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'z3t0/arduvim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/z3t0/arduvim
Ⅳ. 文档说明
# Arduvim
Arduino syntax generation plugin for vim. This allows you to gain syntax highlighting and autocomplete for Arduino and any additional libraries.
Version 0.1b
Installation
Use your plugin manager of choice.
git clone https://github.com/z3t0/arduvim ~/.vim/bundle/arduvim
- Add
Plugin 'https://github.com/z3t0/arduvim'to vimrc - Run
:PluginInstall
- Add
- Add
NeoBundle 'https://github.com/z3t0/arduvim'to vimrc - Run
:NeoBundleInstall
- Add
- Add
Plug 'https://github.com/z3t0/arduvim'to vimrc - Run
:PlugInstall
- Add
Features
- Automatic syntax generation for Arduino Libraries
- Support for 3rd party plugins
- Syntax Highlighting
- Autocomplete
TODO
- Improve documentation
- Allow for more than one directory to store libraries
- Fix small bug on 2-word keywords
Credits
z3t0 : Main contributor, maintainer and also owner of the repository.
- zetoslab@gmail.com
- sudar : Owner and main contributor of the vim-syntax that was instrumental in creating this plugin.
Kevin Sjöberg : Indent file
- kev.sjoberg@gmail.com>
Copyright
Copyright (c) 2015 Rafi Khan