|
One caveat of the ]], ][, [[ and [] keystrokes is that they match the braces which are in the first column. If one wants to match all braces upwards and downwards regardless of whether its in the first column or not is not possible. The VIM documentation has a workaround. One has to map the keystrokes to find the braces. Without spending too much time on mapping, the suggested mappings are
:map [[ ?{<CTRL-VCTRL-M>w99[{
:map ][ /}<CTRL-VCTRL-M>b99]}
:map ]] j0[[%/{<CTRL-VCTRL-M>
关键是后面的看不懂 |
|