VIM TIP6

The % key can be used %是很有用的!

  1. To jump to a matching opening or closing parenthesis, square bracket or a curly brace i.e. ([{}])
  2. To jump to start or end of a C-style comment /* */.
  3. To jump to a matching #if, #ifdef, #else, #elif, #endif C preprocessor conditionals.
  1. 找到匹配得括号
  2. 找到匹配得c语言风格注释/**/
  3. 找到匹配得c语言预处理块#if, #ifdef,#else, #elif, #endif

To get more information about this, do 想知道更多,请查阅帮助: :help %

The % key can be extended to support other matching pairs by modifying the "matchpairs" option. Read the help on 当然,%也可以通过扩展来增加对其他匹配对得匹配查找,想知道请: :help matchpairs

My del.icio.us Tags

Comments