0

鉴于我在一个代码块的中间,我想在不使用h, j, k,的情况下走到块的末尾l

我正在寻找与 类似的行为%,当我的光标位于代码块中的某个位置时,这也将起作用。

例子:

在此处输入图像描述

我想将光标移动到行的位置22,即 Container 块结束的位置。

我会很感激你的帮助,谢谢。

4

1 回答 1

2

看看以下命令:

]) -> Move the cursor to the closed closing of first bracket '('
]} -> Move the cursor to the closed closing of second bracket '{'

当您正在寻找最近的第一个支架时,第一个支架应该适合您的情况。

于 2021-09-29T05:24:04.637 回答