Chinaunix首页 | 论坛 | 博客
  • 博客访问: 135541
  • 博文数量: 52
  • 博客积分: 863
  • 博客等级: 准尉
  • 技术积分: 510
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-24 17:54
个人简介

没有人生,没有爱情!

文章分类

全部博文(52)

文章存档

2014年(9)

2013年(20)

2012年(17)

2011年(6)

我的朋友

分类: 系统运维

2012-03-02 11:01:13

#split the same file
:split or vsplit or nsplit or nvsplit // n is a number to define the window lines
#create new window
:new or vnew or knew or nvnew // n is a number to define the window lines
#switch to next window
:ctrl+w w
#open file or dir
:open path_or_file_name
#close current window
:close
#close all other window
:only
#jump to top of the current window
:gg
#jump to bottom of the current window
:GG
// jump around windows
ctrl-w h/j/k/l/t/b   // jump to left/below/up/right/top/bottom window
  CTRL-W h 跳转到左边的窗口
  CTRL-W j 跳转到下面的窗口
  CTRL-W k 跳转到上面的窗口
  CTRL-W l 跳转到右边的窗口
  CTRL-W t 跳转到最顶上的窗口
  CTRL-W b 跳转到最底下的窗口
#move window
ctrl-w H/L/J/K   // move window to left/right/below/up
#quit windows
:qall
:wall
:wqall
:qall!
阅读(1304) | 评论(2) | 转发(0) |
0

上一篇:about NSLog

下一篇:vim comman

给主人留下些什么吧!~~

att_king2012-03-10 13:26:38

小布丁姐姐: 好多命令行啊,都是管理窗口的吗?.....
是的

小布丁姐姐2012-03-06 09:55:48

好多命令行啊,都是管理窗口的吗?