sponsor Vim development Vim logo Vim Book Ad

sketch.vim : Draw with mouse: boxes, arrows, lines, fills. Transparent/opaque drag and drop.

 script karma  Rating 268/96, Downloaded by 5649    Comments, bugs, improvements  Vim wiki

created by
Antony Scriven
script type
Sketch.vim -- Line drawing/painting using the mouse.
Based on an idea by Morris.

** sketch.vim has bugs when used with vim7 **
** I will address this at some point, be patient! **
** Contact address for bugs is adscriven+sketch at gmail com **
--Antony 2007-07-15

Lines, arrows, boxes.
Automatic arrow head selection.
Automatic corners and intersections.
Paint brush with three different tips.

Visual selection
Drag and drop (transparent & opaque).
Opaque box.
Transparent box.
Box with rounded corners.
Join/overlay lines.
Fill with selected brush.
Quick erase.

Extra maps
Flood fill with arbitrary character: <leader>f

If you tell me you like it or provide bug reports, fixes
then I will tidy it up and improve the code quality and
write a proper vim help file. Or maybe someone else
would like to maintain it ...
install details
plugin file: sketch.vim --> plugin directory
tutorial file: sketch.tut --> wherever
Doesn't come with any maps defined.
I define :map <F1> :call ToggleSketch()<CR> in my vimrc to turn it on and off.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sketch-0-3-2.zip 0.3.2 2004-01-18 6.0 Antony Scriven Dragging transparent objects over tab characters fixed.
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo