使用vim,选择xml块的最佳方法是什么?

使用vim,选择xml块的最佳方法是什么?,vim,vim-plugin,Vim,Vim Plugin,我想选择全部 但我们必须数一数什么是讨厌的 我想使用这样一个事实,即这是格式良好的XML,因此我们知道哪个标记关闭哪个标记 PS:I have vim surround pluging installed文本对象在用户手册第4章中介绍,并在:help Text objects下进一步列出,其中很容易找到: at "a tag block", select [count] tag blocks, from the [count]'th unmatched &q

我想选择全部

但我们必须数一数什么是讨厌的

我想使用这样一个事实,即这是格式良好的XML,因此我们知道哪个标记关闭哪个标记


PS:I have vim surround pluging installed

文本对象在用户手册第4章中介绍,并在
:help Text objects
下进一步列出,其中很容易找到:

at    "a tag block", select [count] tag blocks, from the
      [count]'th unmatched "<aaa>" backwards to the matching
      "</aaa>", including the "<aaa>" and "</aaa>".
      See |tag-blocks| about the details.
      When used in Visual mode it is made characterwise.
在“标记块”处,从
[计数]“第个不匹配项”返回到匹配项
,包括“”和“”。
有关详细信息,请参见“标记块”。
在视觉模式下使用时,它将按字符设置。
激活、配置并使用
%
在打开/关闭标记之间跳转。要选择­-将光标放在开始标记处并
V%
V/div<Enter>n
Vjjjjjjj
at    "a tag block", select [count] tag blocks, from the
      [count]'th unmatched "<aaa>" backwards to the matching
      "</aaa>", including the "<aaa>" and "</aaa>".
      See |tag-blocks| about the details.
      When used in Visual mode it is made characterwise.