Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
995 views
in Technique[技术] by (71.8m points)

vim plugin - With vim what is the best way to select an xml block?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Text objects are introduced in chapter 4 of the user manual and further listed under :help text-objects, where this is very easy to find:

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.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...