Delete text in between HTML tags in vim?

后端 未结 5 2172
暗喜
暗喜 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:08

    If you're aiming to do the inverse of deleting text between flags, I suggest installing Vim-Surround and running dst which deletes the surround tag

提交回复
热议问题