https://github.com/bergercookie/vimduino
Arduino development in vim made easy
https://github.com/bergercookie/vimduino
Last synced: 4 months ago
JSON representation
Arduino development in vim made easy
- Host: GitHub
- URL: https://github.com/bergercookie/vimduino
- Owner: bergercookie
- License: other
- Created: 2020-03-01T14:06:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-14T06:11:02.000Z (almost 2 years ago)
- Last Synced: 2025-06-09T16:53:16.877Z (about 1 year ago)
- Language: Vim Script
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# vimduino - Enable arduino development in Vim
```
__ __ ____ ___ ___ ___ __ __ ____ ____ ___
| | || || | || \ | | || || \ / \
| | | | | | _ _ || \ | | | | | | _ || |
| | | | | | \_/ || D || | | | | | | || O |
| : | | | | | || || : | | | | | || |
\ / | | | | || || | | | | | || |
\_/ |____||___|___||_____| \__,_||____||__|__| \___/
```
Vim/Neovim plugin for facilitating arduino development in Vim - Makes use of the
latest [arduino-cli](https://github.com/arduino/arduino-cli) tool
## Why?
Most of the plugins for Arduino and/or vim either make use of Java or are
fiddling with mechanics of the Arduino IDE. This plugin instead builds around
well-known CLI tools such as `arduino-cli`, `picocom`, `ctags` to bring the
Arduino development experience to Vim.
## Functionality
- `:Make` / quickfix support using `arduino-cli`
- `:GenerateArduinoTags` / `:LoadArduinoTags`
- `:UploadSketch `
- `:MonitorSerial `
## Installation
### Dependencies
Install the following binary dependencies:
- `arduino-cli`
- `vim-dispatch`
- [OPTIONAL] `ctags` for tags generation
- [OPTIONAL] `picocom` - to use the `MonitorSerial` command
### Installing the plugin
| Plugin manager | How to install |
| :------------- | :-------------------------------------------------------------------------------------------- |
| [Dein][1] | `call dein#add('bergercookie/vim-debugstring')` |
| [minpac][2] | `call minpac#add('bergercookie/vim-debugstring')` |
| [Pathogen][3] | `git clone https://github.com/bergercookie/vim-debugstring.git ~/.vim/bundle/vim-debugstring` |
| [Plug][4] | `Plug 'bergercookie/vim-debugstring'` |
| [Vundle][5] | `Plugin 'bergercookie/vim-debugstring'` |
| manual | copy all of the files into your `.vim` directory (or `~/.config/nvim` if you're using neovim) |
[1]: https://github.com/Shougo/dein.vim
[2]: https://github.com/k-takata/minpac
[3]: https://github.com/tpope/vim-pathogen
[4]: https://github.com/junegunn/vim-plug
[5]: https://github.com/VundleVim/Vundle.vim
## FAQ
- I want to change the architecture to use without restarting vim:
You can change the environment variable of vim's shell as follows:
`let $ARDUINO_ARCH=""`
## License
Current plugin is distributed under the same terms as Vim itself. See the
[LICENSE](https://github.com/bergercookie/vim-debugstring/blob/master/LICENSE)
file
## Self Promotion
In case you like the plugin, you might as well [star it on
Github](https://github.com/bergercookie/vimduino) or [TODO rate it on
vim.org]() Also feel
free to check my [other
plugins](https://github.com/bergercookie?tab=repositories)
## TODO List
- Menu in vim for picking the architecture to compile/upload