DrawIt! is a plugin for Vim that allows users to create ASCII drawings within the text editor.
It is very simple to start and stop DrawIt. Users can use the "di" command to start DrawIt, while "ds" command can be used to stop it. Once DrawIt has been started, users can use the number pad to draw their desired shapes with the lines being expanded as needed to accommodate the drawing. In addition to lines, DrawIt can also draw boxes and ellipses on a blank canvas-areas that it can generate by itself, which can be helpful for drawing boxes around comments.
Another essential feature of DrawIt is that Viart's < drawing.vim > has been merged with the original DrawIt by permission, which makes it easy to use visual-block selection to specify starting and ending positions. DrawIt also incorporates an "erase" mode that leaves a trail of blanks behind and under the cursor as it is moved by the number pad.
In addition, DrawIt's shift-arrow keys allow it to move the cursor, expand lines and insert spaces as required without changing the underlying text. DrawIt is now available in the Vimball format, which can be easily understood by the new Vim 7.0 release. After decompressing the DrawIt.vba.gz file, the user can edit it with Vim and then source it (:so %), and DrawIt's components will be placed where they belong, based on your Vim's runtimepath.
DrawIt also keeps a record of various user options that affect it and all maps that DrawIt creates. When DrawIt is terminated, it restores the user's maps and options. Its number-pad maps expand the file to accommodate the drawing automatically. Below are some of the key features of DrawIt:
· < left >, < right >,< up >, and < down > move the cursor and draw in the desired direction, inserting lines/spaces as needed.
· < s-left >, < s-right >,< s-up >, and < s-down > move the cursor in the desired direction, inserting lines/spaces as required.
· < space > toggles into and out of erase mode.
· >draw - > arrow, < draw < - arrow, ^draw ^ arrow, and vdraw v arrow allow users' lines to end with or start with an arrow.
· < pgdn > and < end > replace text with /, move down and left or right, and insert a /.
· < pgup > and < home > replace text with /, move up and left or right, and insert a /.
· > and < signify fat > and fat < arrows respectively.
· a draw arrow based on corners of the visual block, b draws a box using visual-block selected region, e draws an ellipse inside the visual block, f fills a figure with some character.
· L draws a line based on corners of the visual block, s adds spaces to cannon,
Version 10: N/A