CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 14:40:41 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"c99f590aab91b9a891a588d6a6e1a2eb"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=XczPiYGgxPkfLxIULhqXKJd%2F5fR9ySVyOwC8wOgdio1gjXFKcvH9HvAjMbkV6vO0NLQjUjNRB2%2BBe%2B8O1P970ATUWye3MuE8I6uuY9oI9bfvnkDfDShnoQtWSBGpyVDs8w02%2BhEM7uMN8f2xLr%2BToMDJbOSS3vQArwdzpujZi6ZYtOD0NqYDMedJJAjpUassqHLXoTqL2YiWG1SFhSneqOrH%2Bg8j4BCESg9PZMh32lhGcXHl7D1Tv6pd%2Fv4ZoKDxoHfZoqIJeDvVpwjVK1GZnw%3D%3D--rYnXe3LaHjhnYIR9--zP9jMsOcESdHrvaQPz9MzQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.963583657.1753108840; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 14:40:40 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 14:40:40 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BA3A:0A55:1D045E6:23E5BB7:687E5168
GitHub - vim-scripts/DrawIt: Ascii drawing plugin: lines, ellipses, arrows, fills, and more!
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 44
Ascii drawing plugin: lines, ellipses, arrows, fills, and more!
vim-scripts/DrawIt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of https://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 https://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 <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 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 <left> move and draw left <right> move and draw right, inserting lines/space as needed <up> move and draw up, inserting lines/space as needed <down> move and draw down, inserting lines/space as needed <s-left> move left <s-right> move right, inserting lines/space as needed <s-up> move up, inserting lines/space as needed <s-down> move down, inserting lines/space as needed <space> toggle into and out of erase mode > draw -> arrow < draw <- arrow ^ draw ^ arrow v draw v arrow <pgdn> replace with a \, move down and right, and insert a \ <end> replace with a /, move down and left, and insert a / <pgup> replace with a /, move up and right, and insert a / <home> 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 <leftmouse> select visual block <s-leftmouse> 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!
About
Ascii drawing plugin: lines, ellipses, arrows, fills, and more!
Resources
Stars
Watchers
Forks
Packages 0
No packages published
You can’t perform that action at this time.