如何搜索gvim中的折叠范围?

时间:2014-01-17 02:41:46

标签: vim

以下是测试搜索功能的材料:

  1. 在第5行

  2. 中移动光标
  3. zfG将第5行折叠到文件末尾。 (请参阅 附件1)

  4. 当我输入?case时,我可以获得attachment2

    现在,让我添加一行,第一行只包含一个单词case,折叠行6直到文件结尾。当我输入?case时,我只能获得第1行,无法搜索第7行?

    如何在折叠线上搜索?

    以下是要测试的原材料:

    Note the use of ( ) with the pipe symbol to specify the 'or' condition    
    /[0-9]*/MATches if there are zero or more numbers in the line    
    /^[^#]/ Matches if the first character is not a # in the line    
    Notes:    
    1. Regular expressions are case sensitive    
    2. Regular expressions are to be used where pattern is specifiedYou can jump back to beginning of file by typing any one of the following command    
    

    enter image description here
    attachment2
    attachment3

0 个答案:

没有答案
相关问题