"%"可以用来:
1.跳转到一个成对出现的左半边
2.跳转到一个C语言风格注释的
3.跳转到完整出现的C预处理条
如果需要关于"%"的详细信息,
:help %
通过修改"matchpairs
:help matchpairs获得更多的
原文:
---------------
VimTip 6: Using the % key
http://vim.sour
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.
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