阅读背景:

在VIM中有效地搜索特定行位置上的特定字符串

来源:互联网 

As all of you know, Vim is an awesome tool for doing things like this. I'm searching for errors in some reporting text. Say for example I'm looking for the string "0000" in the text I would enter the command ":s/0000". By default, it highlights all instances in which that sequence, and I mean all. The good part is I know that, for example, the string begins on the 11th position in each line. What I would like to know is there a command in which I can globally search ONLY for the string "0" in which it occurs on ONLY on the 11th position in each line? I appreciate your time. Thank you. As all of you know, Vim is an awesome tool for




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: