Tag Archives: Vim

Selecting element content with Vim

When editing an XML file in Vim, I wanted to delete the content of an element so that I could replace it with some completely new text. I thought I could use ct< to change up until the next < character but that didn’t work because the end tag was on a subsequent line. I [...]