windows上安装VIM插件DrawIt!
2010-04-21 09:44
507 查看
DrawIt!是个画ASCII码图形的插件,非常好用。今天在安装时还是费了点功夫,从网上搜索了下,加上Vim官方的网站上都是这个步骤:
vim DrawIt.vba.gz
:so %
:q
这是在linux上用的,目前机器上没有安装Linux,只好将就一下,在Windows上使用了。
下载
了 DrawIt.vba.gz后,按照这个说法没有办法实现画图功能,使用/di也进不了画图模式。郁闷了一阵,后来想是不是用解压后的文件,解压后是 DrawIt.vba,直接用VIM7.0打开,然后用:so %,解开了好几个scripts,退出后再次打开就可以了。
下面是一些命令:
<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
vim DrawIt.vba.gz
:so %
:q
这是在linux上用的,目前机器上没有安装Linux,只好将就一下,在Windows上使用了。
下载
了 DrawIt.vba.gz后,按照这个说法没有办法实现画图功能,使用/di也进不了画图模式。郁闷了一阵,后来想是不是用解压后的文件,解压后是 DrawIt.vba,直接用VIM7.0打开,然后用:so %,解开了好几个scripts,退出后再次打开就可以了。
下面是一些命令:
<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
相关文章推荐
- Vim插件DrawIt安装
- Vim之C.Vim插件安装及使用(windows)
- Windows下安装Vim插件管理Vundle
- vim插件:perl-support 在windows下的安装和应用,和linux下 的安装(非常简单)
- windows 下搭建golang开发环境,安装vim插件
- Windows下安装Vim插件管理Vundle
- Windows下安装Vim插件管理Vundle
- Vim常见指令与问题总结(四)---Windows下安装Vim插件管理Vundle插件
- vim 自动提示、自动补齐插件 YouCompleteMe for windows Gvim 安装及使用效果
- windows 下vim taglist插件的安装,真实可用
- Windows下安装vim插件管理vundle
- vim 自动提示、自动补齐插件 YouCompleteMe for windows Gvim 安装及使用效果
- windows 安装使用vim,及安装插件spark和rails.vim ,来作为ruby on rails 开发IDE
- vim 自动提示、自动补齐插件 YouCompleteMe for windows Gvim 安装及使用
- vim 自动提示、自动补齐插件 YouCompleteMe for windows Gvim 安装及使用效果
- windows 下给vim安装ctags插件
- vim 插件 安装 linux windows IDE
- vim的强大,vim设置和插件的使用,脱离windows才是王道
- Django 和mysql通信得插件windows下安装mysql-python报错的解决办法
- RabbitMQ 以及web管理插件的安装试用(windows)