Chinaunix首页 | 论坛 | 博客
  • 博客访问: 12398915
  • 博文数量: 1293
  • 博客积分: 13501
  • 博客等级: 上将
  • 技术积分: 17974
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-08 18:11
文章分类

全部博文(1293)

文章存档

2019年(1)

2018年(1)

2016年(118)

2015年(257)

2014年(128)

2013年(222)

2012年(229)

2011年(337)

分类: 服务器与存储

2011-05-11 21:34:22

 

一切都在指令,掌握指令,你就可以这个漆黑的世界里神游!

哥先有下面目录打开一个文件:

image

1、行首行尾快速跳到

(1)、跳到行尾:  $

 

  1. |mount -t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share /mnt/hgfs/

  2. mount -t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share /mnt/hgfs/ |

 

(2)、跳到行首:O

 

  1. 使用O之前:

  2. mount -t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share| /mnt/hgfs/

  3. 哥使用O之后:

  4. |mount -t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share /mnt/hgfs/

 

2、快捷跳到下一个词、上一个词

(1)、跳到下一个词: w

 

  1. 使用w之前:

  2. |mount -t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share /mnt/hgfs/

  3. 使用w之后:

  4. mount |-t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share /mnt/hgfs/

 

(2)、跳到上一个词: b

使用b之前:

 

  1. mount -t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share /mnt/hgfs/|

  2. 使用b之后:

  3. mount -t smbfs -o iocharset=utf8,username=dyli //192.168.1.102/share /mnt|/hgfs/

 

3、在C语言的.c文件中小试牛刀!

(1)、使用命令gg G 快速跳到文件的头与尾

image

 

image

阅读(2464) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~