Skip to content

gsass1/ascii.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ascii.nvim

A plugin to help spice up your text documentation, for NeoVim using the remote plugin feature.

Demonstration

Disclaimer: very WIP! Expect things to break and stuff not to work flawlessly until I can release a stable version.

Features

  • 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:

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 <F3> :Box<CR>

Releases

No releases published

Packages

No packages published

Languages