All Projects → vim-scripts → Drawit

vim-scripts / Drawit

Ascii drawing plugin: lines, ellipses, arrows, fills, and more!

Labels

Projects that are alternatives of or similar to Drawit

Vim Go
Go development plugin for Vim
Stars: ✭ 14,085 (+5696.3%)
Mutual labels:  viml
Fuzzyfinder textmate
A vim script that extends the fuzzyfinder plugin to support TextMate style file searches (e.g. cmd-T) (Unmaintained now, see http://weblog.jamisbuck.org/2009/1/28/the-future-of-fuzzyfinder-textmate)
Stars: ✭ 216 (-11.11%)
Mutual labels:  viml
Vim Yoink
Vim plugin that maintains a yank history to cycle between when pasting
Stars: ✭ 225 (-7.41%)
Mutual labels:  viml
Vim Distinguished
A dark vim color scheme for 256-color terminals.
Stars: ✭ 205 (-15.64%)
Mutual labels:  viml
Goldenview.vim
Always have a nice view for vim split windows!
Stars: ✭ 214 (-11.93%)
Mutual labels:  viml
Autocomplpop
Automatically opens popup menu for completions
Stars: ✭ 219 (-9.88%)
Mutual labels:  viml
Vifm.vim
Vim plugin that allows use of vifm as a file picker
Stars: ✭ 197 (-18.93%)
Mutual labels:  viml
Dotfiles
My dotfiles
Stars: ✭ 238 (-2.06%)
Mutual labels:  viml
Csapprox
Make gvim-only colorschemes work transparently in terminal vim
Stars: ✭ 215 (-11.52%)
Mutual labels:  viml
Config files
My config files (aka dotfiles)
Stars: ✭ 222 (-8.64%)
Mutual labels:  viml
Cocoa.vim
Vim plugin for Cocoa/Objective-C development. No longer actively developed.
Stars: ✭ 205 (-15.64%)
Mutual labels:  viml
Vim Auto Save
Automatically save changes to disk
Stars: ✭ 213 (-12.35%)
Mutual labels:  viml
Sachet
Handcraft your development environment
Stars: ✭ 221 (-9.05%)
Mutual labels:  viml
8cc.vim
C Compiler written in Vim script
Stars: ✭ 205 (-15.64%)
Mutual labels:  viml
Vim Gocode
A Go bundle for Vundle or Pathogen
Stars: ✭ 232 (-4.53%)
Mutual labels:  viml
Vimfiles
My Vim configuration
Stars: ✭ 201 (-17.28%)
Mutual labels:  viml
Phpcomplete Extended
A fast, extensible, context aware autocomplete plugin for PHP composer projects with code inspection features.
Stars: ✭ 218 (-10.29%)
Mutual labels:  viml
Conque Shell
Run interactive commands inside a Vim buffer
Stars: ✭ 241 (-0.82%)
Mutual labels:  viml
Flappyvird Vim
Stars: ✭ 236 (-2.88%)
Mutual labels:  viml
Vim Maximizer
Maximizes and restores the current window in Vim.
Stars: ✭ 220 (-9.47%)
Mutual labels:  viml

This is a mirror of http://www.vim.org/scripts/script.php?script_id=40

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.

The alpha/beta version is available at http://www.drchip.org/astronaut/vim/index.html#DRAWIT.

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) (by permission). Use visual-block selection to specify 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 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 is now in the vimball format, which is understood by the new Vim 7.0 release. After decompressing the DrawIt.vba.gz file, edit it with Vim, and then source it (:so %). The components of DrawIt will then be placed where they belong, based on your Vim's runtimepath.

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.

Supported Features move and draw left move and draw right, inserting lines/space as needed move and draw up, inserting lines/space as needed move and draw down, inserting lines/space as needed move left move right, inserting lines/space as needed move up, inserting lines/space as needed move down, inserting lines/space as needed toggle into and out of erase mode

       draw -> arrow

< draw <- arrow ^ draw ^ arrow v draw v arrow replace with a , move down and right, and insert a
replace with a /, move down and left, and insert a / replace with a /, move up and right, and insert a / replace with a , move up and left, and insert a
> draw fat -> arrow < draw fat <- arrow ^ draw fat ^ arrow \v draw fat v arrow \a draw arrow based on corners of visual-block \b draw box using visual-block selected region \e draw an ellipse inside visual-block \f fill a figure with some character \h create a canvas for \a \b \e \l \l draw line based on corners of visual block \s adds spaces to canvas select visual block drag and draw with current brush (register) \ra ... \rz replace text with given brush/register \pa ... like \ra ... \rz, except that blanks are considered to be transparent

Thank you for ranking DrawIt!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].