ChinaUnix.net
相关文章推荐:

vi编辑器查找

作者: uprtystpk 出自: http://www.linuxdiyf.com 使用vi编辑器编辑长文件时,常常是头昏眼花,也找不到需要更改的内容。 这时,使用查找功能尤为重要。 方法如下: 1、命令模式下输入“/字符串”,例如“/Section 3”。 2、如果查找下一个,按“n”即可。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_699174.html

by sdccf - Linux文档专区 - 2008-05-22 16:25:46 阅读(805) 回复(0)

相关讨论

From the Dr. Strangelove, or How I Learned to Love the vi Editor file: Although difficult to learn, the vi editor is well worth the effort because the skill is portable between all Unix implementations. But more importantly, vi has powerful editing capabilities that can significantly enhance your productivity. This is the first in a series of tips that will illustrate some these capabilities. Th...

by gaoxintian - AIX文档中心 - 2006-05-12 09:46:39 阅读(2995) 回复(0)

我就想知道如何在vi编辑器里有命令/string来查找字符串呢? network_interface=primary {protocol_ipv6=no netmask=255.255.255.0 default_route=192.168.0.1 hostname=ultra5 ip_address=192.168.0.5} security_policy=none name_service=NONE timezone=PRC system_locale=en_US terminal=vt100 timeserver=localhost root_password=YiSNKaOUgjisU ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /string...

by xfdhelen - Solaris - 2006-01-01 01:20:48 阅读(1938) 回复(2)

就是类似一般win编辑器中的[ctrl+f]的那种,在vi命令里没找到,望大家指点

by kaolacatty - 桌面与办公 - 2004-08-05 17:37:02 阅读(1083) 回复(4)

就是类似一般win编辑器中的[ctrl+f]的那种,在vi命令里没找到,望大家指点

by kaolacatty - Linux新手园地 - 2004-08-05 17:37:02 阅读(1600) 回复(4)

使用vi编辑器编辑长文件时,常常是头昏眼花,也找不到需要更改的内容。 这时,使用查找功能尤为重要。 方法如下: 1、命令模式下输入“/字符串”,例如“/Section 3”。 2、如果查找下一个,按“n”即可。

by luren04 - Linux文档专区 - 2008-05-28 16:32:40 阅读(765) 回复(0)