VIM TIP6
The % key can be used %是很有用的!
- To jump to a matching opening or closing parenthesis, square bracket or a curly brace i.e. ([{}])
- To jump to start or end of a C-style comment /* */.
- To jump to a matching #if, #ifdef, #else, #elif, #endif C preprocessor conditionals.
- 找到匹配得括号
- 找到匹配得c语言风格注释/**/
- 找到匹配得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
Comments