vim draw picture plug in

來源:互聯網
上載者:User

http://www.vim.org/scripts/script.php?script_id=40

Its easy to start and stop DrawIt: use

   \di to start DrawIt and
   \ds to stop  DrawIt.

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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.