Submitted by playts on June 11th, 2010 at 6:31:38 PM
下面的文章将vim编辑器的使用进行了总结,比较全面。
vim学习笔记
一、显示行号信息
即时命令
:set nu
永久命令
echo “set nu”>>~/.vimrc
二、一个窗口操作两个文档
:sp filename 垂直分割窗口
:vert sp filename 水平分割窗口
Ctrl+w j/k 上下窗口间移动光标
Ctrl+w h/l 左右窗口间移动光标
三、进入vi的命令
vi filename :打开或新建文件,并将光标置于第一行首
vi +n filename :打开文件,并将光标置于第n行首
vi + filename :打开文件,并将光标置于最后一行首
vi +/pattern filename:打开文件,并将光标置于第一个与pattern匹配的串处
Submitted by playts on March 4th, 2010 at 5:07:48 AM
这2天访问drupalgardens.com速度明显变慢了,体验就称不上了,有时打开页面都难。
Submitted by playts on February 24th, 2010 at 5:24:29 AM
Submitted by playts on February 24th, 2010 at 4:08:24 AM
Get started! To learn the basics, check out the Drupal Gardens help resources.
Want to remove this from the front page? Site owners and users with the appropriate permissions can manage any of your site's content by using the "Content" link in the black menu bar at the top of the page.
Comments