Delete text in between HTML tags in vim?

后端 未结 5 2198
暗喜
暗喜 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 16:11

    try dt< while the cursor is on the first character to delete. In your example the 'H'.

提交回复
热议问题