zoukankan      html  css  js  c++  java
  • vimtips阅读记录

    __BEGIN__
    *vimtips.txt*	For Vim version 8.0.  
    ------------------------------------------------------------------------------
    " new items marked [N] , corrected items marked [C]
    " *best-searching*
    /joe/e                      : cursor set to End of match
    3/joe/e+1                   : find 3rd joe cursor set to End of match plus 1 [C]
    /joe/s-2                    : cursor set to Start of match minus 2
    /joe/+3                     : find joe move cursor 3 lines down
    /^joe.*fred.*bill/          : find joe AND fred AND Bill (Joe at start of line)
    /^[A-J]/                    : search for lines beginning with one or more A-J
    /begin\_.*end               : search over possible multiple lines
    /fred\_s*joe/               : any whitespace including newline [C]
    /fred|joe                  : Search for FRED OR JOE
    /.*fred&.*joe              : Search for FRED AND JOE in any ORDER!
    /<fred>/                  : search for fred but not alfred or frederick [C]
    /<dddd>               : Search for exactly 4 digit numbers
    /DddddD               : Search for exactly 4 digit numbers
    /<d{4}>                 : same thing
    /([^0-9]|^)%.*%          : Search for absence of a digit or beginning of line
    " finding empty lines
    /^
    {3}                    : find 3 empty lines
    /^str.*
    str                : find 2 successive lines starting with str
    /(^str.*
    ){2}           : find 2 successive lines starting with str
    " using rexexp memory in a sea
    很容易就不写翻译结果,原文见http://rayninfo.co.uk/vimtips.html
  • 相关阅读:
    C#中使用MATLAB
    各种插值法及效果图对比
    Visual Studio中你所不知道的智能感知
    C#中使用Surfer
    XCode中连接使用GitHub
    个人作业Week1
    个人作业Week3
    个人作业Week2
    第一次作业——subway
    执行ajax加载页面中的js总结
  • 原文地址:https://www.cnblogs.com/guochaoxxl/p/7423905.html
Copyright © 2011-2022 走看看