Last Updated: February 25, 2016
·
675
· bjoernwibben

Change inner HTML of a Tag in Vim

In normal Mode place the Cursor on a Tag (it can also be the < before the Tag or on any Attribute) and press

cit

Keystroke Explanation:

  • c – delete {motion} text and start insert mode (see :h c)
  • it – select "inner tag block" (see :h it)