vim-boxdraw


Ⅰ. 插件描述

An ASCII box drawing plugin for Vim

Ⅱ. 基本信息

创建日期:  2017-07-22
使用用户:  12
Github星:  69
插件作者:  Akos Gyimesi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'gyim/vim-boxdraw'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'gyim/vim-boxdraw'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'gyim/vim-boxdraw'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/gyim/vim-boxdraw

Ⅳ. 文档说明

# 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

MethodInstalation instructions
NeoBundleAdd NeoBundle 'gyim/vim-boxdraw' to .vimrc
PathogenRun git clone https://github.com/gyim/vim-boxdraw ~/.vim/bundle/vim-boxdraw
PlugAdd Plug 'gyim/vim-boxdraw' to .vimrc
VundleAdd 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

添加新评论