https://github.com/gsass1/ascii.nvim
A NeoVim plugin for drawing ASCII art.
https://github.com/gsass1/ascii.nvim
ascii-art documentation neovim plugin vim
Last synced: about 2 months ago
JSON representation
A NeoVim plugin for drawing ASCII art.
- Host: GitHub
- URL: https://github.com/gsass1/ascii.nvim
- Owner: gsass1
- License: mit
- Created: 2021-10-23T17:57:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-24T13:43:59.000Z (over 4 years ago)
- Last Synced: 2025-03-11T20:47:08.706Z (over 1 year ago)
- Topics: ascii-art, documentation, neovim, plugin, vim
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ascii.nvim
A plugin to help spice up your text documentation, for NeoVim using the [remote plugin feature](https://pynvim.readthedocs.io/en/latest/usage/remote-plugins.html).

**Disclaimer:** very WIP! Expect things to break and stuff not to work flawlessly until I can release a stable version.
# Features
- [x] Boxes with variable padding
- [ ] Arrows
- [ ] Circles?
- [ ] Triangles?
# Requirements
- NeoVim
- Python3
# Installation
If you're using vim-plug:
```
Plug 'gsass1/ascii.nvim'
```
After installing execute `:UpdateRemotePlugins` to register the Python3 plugin files.
# Configuration
## Variables
Put this somewhere in your config:
```VimL
let g:ascii_default_hpadding = 1
let g:ascii_default_vpadding = 1
let g:ascii_hline_char = "-"
let g:ascii_vline_char = "|"
let g:ascii_corner_char = "+"
```
## Commands
### Box
Put an ASCII box around a selection.
Usage: `:Box --hpadding=HPADDING --vpadding=VPADDING`
Bind it: `vnoremap :Box`