Saturday 25 November 2017

selection - How can I select an HTML tag's content in Vim?


Is it possible to select an HTML tag's content in Vim?


For example:


I am a silly butterfly



I would like to select "I am a silly butterfly".


I know that you can use vi" to select text inside quotes, brackets, etc. The problem here is that the text inside the HTML tags is not really within anything that I can use the i function for.



Answer



You can use vit to visually select text in a tag. See


:help v_it

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...