DrawIt.tar.gz : Use arrow keys to draw lines, ctrl-v for boxes and ellipses
script karma |
Rating 185/68,
Downloaded by 1576 |
created by |
Charles Campbell |
|
script type |
utility |
|
description |
DrawIt is a plugin which allows one to draw lines left, right, up, down, and
along both slants. Optionally one may \"cap\" the lines with arrowheads. One
may change the horizontal, vertical, slant, and crossing characters to
whichever characters one wishes.
Its easy to start and stop DrawIt: use
\di to start DrawIt and
\ds to stop DrawIt.
Its also available as "DrawIt" from
http://www.erols.com/astronaut/vim/index.html#VimFuncs.
When DrawIt has been started you may use the number pad to leave a
trail of dashes, vertical bars, etc. The lines will be expanded as
needed to accomodate your drawing. DrawIt can also draw boxes and
ellipses on a blank-filled area (DrawIt can produce these) which can
be useful for drawing boxes around comments.
Viart's <drawing.vim> has been merged with the original DrawIt
(vimscript#11). Use visual-block selection to specify a starting and
ending positions and a Bresenham line drawing algorithm will be used
to connect the two. DrC has written an ellipse-drawing
Bresenham-style procedure: again, use the visual block selection to
specify a box to contain the ellipse and \e to trigger the ellipse
drawing.
DrawIt incorporates an "erase" mode, toggled by the <space> key, that
will leave a trail of blanks behind and under the cursor as it is
moved by the number pad. Using the shift-arrow keys, DrawIt will
move the cursor, expanding lines and inserting spaces as needed,
without changing underlying text.
DrawIt contains both the plugin source and help. You'll need to
gunzip the file and untar (tar -oxvf DrawIt.tar), preferably in the
<.vim> or <vimfiles> directory.
DrawIt records many user options that affect DrawIt and all maps that
starting DrawIt creates. When DrawIt is terminated it restores the
user's maps and options. DrawIt's number pad maps will expand the
file as necessary to accomodate the drawing, automatically.
Thank you for ranking DrawIt!
|
|
install details |
Put a copy of <DrawIt.tar.gz> in your <.vim> (unix) or <vimfiles> (windos)
directory.
gunzip DrawIt.tar.gz
tar -oxvf DrawIt.tar
will create <plugin/DrawIt.vim> and <doc/DrawIt.txt>. |
|
script versions (upload new version)
Click on the package to download.
DrawIt.tar.gz |
08272002 |
27-Aug-2002 |
6.0 |
Charles Campbell |
The latest DrawIt, an ascii drawing tool for Vim, now supports:
\> \< \^ \v : fat arrowheads
s-up, s-down, etc: move w/o changing text, inserting/expanding lines as needed. |
DrawIt.tar.gz |
9/19/2001 |
21-Sep-2001 |
6.0 |
Charles Campbell |
DrC's DrawIt.vim and Syvain VIART's
drawing.vim have been merged into one
plugin: \di \ds to start/stop, keypad
controlled drawing, visual block
specified lines, arrows, boxes, and
ellipses. Drawing with spaces now
continues in the same direction that
the keypad last specified.
|
DrawIt.tar.gz |
072301 |
24-Jul-2001 |
6.0 |
Charles Campbell |
Initial upload |
|