NIFR91 / vim-boxdraw

An ASCII box drawing plugin for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-boxdraw - Draw ASCII diagrams in Vim

Introduction

See vim-boxdraw in action

The vim-boxdraw plugin makes it easy to draw simple ASCII diagrams in blockwise-visual mode. The basic idea is simple:

  • Select a rectangle on the screen
  • Invoke a draw command.

All commands are mapped to the + prefix. See the vim help file for reference.

Installation

Method Instalation instructions
NeoBundle Add NeoBundle 'gyim/vim-boxdraw' to .vimrc
Pathogen Run git clone https://github.com/gyim/vim-boxdraw ~/.vim/bundle/vim-boxdraw
Plug Add Plug 'gyim/vim-boxdraw' to .vimrc
Vundle Add Plugin 'gyim/vim-boxdraw' to .vimrc

Contributions

Developer Setup

vim-boxdraw uses a Python script to do most of the work. To contribute to this plugin, you'll need

  • Python 2.7.x and 3.5.x (we want to support system Python on most platforms)
  • pip install -U pytest

Running the unit tests

From the python directory,

pytest

About

An ASCII box drawing plugin for Vim

License:MIT License


Languages

Language:Python 83.9%Language:Vim Script 16.1%