Delete text in between HTML tags in vim?

后端 未结 5 2189
暗喜
暗喜 2020-12-22 15:12

I know

di<

will delete in an HTML tag itself.

Is there an easy way to delete text in between two tags?



        
5条回答
  •  情书的邮戳
    2020-12-22 15:57

    dit will delete the text between matching XML tags. (it is for "inner tag block".)

    See :h it and :h tag-blocks.

提交回复
热议问题