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)
Written by Bjoern M. Wibben
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#