Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What plugins are there for editing ASCII charts in Vim or Eclipse?

I remember seeing a plugin in some editor (I think, it was Vim or Eclipse) for editing text-based ASCII charts that look like so:

+-----------+               +-----------+
|  Class A  | ------------> |  Class B  |
+-----------+               +-----------+

Is anyone aware of such a plugin? Thanks!

like image 702
nctusdk Avatar asked Aug 25 '10 07:08

nctusdk


2 Answers

You can search it on vim.org: http://www.vim.org/scripts/script_search_results.php?keywords=ascii&script_type=&order_by=rating&direction=descending&search=search

Most popular results:

  • DrawIt!
  • CharTab
  • boxdraw
like image 171
ZyX Avatar answered Nov 14 '22 00:11

ZyX


Probably the most functional plugin for simple ASCII drawing (straight lines, arrows, ellipses, rectangles, etc.) in Vim is DrawIt!. Another option (which may be outdated) could be sketch.vim. Both of them provide shortcuts for drawing at least arrows and boxes.

like image 26
ib. Avatar answered Nov 14 '22 00:11

ib.