Using Vim as an HTML editor

后端 未结 5 551
你的背包
你的背包 2021-02-01 15:43

You know how Notepad++ has this feature that when you click on a tag (say ) it automatically highlights the ending tag () as well? What\'s it called? And how do you tweak Vim to

5条回答
  •  无人及你
    2021-02-01 16:25

    I do all of my HTML editing in vim. The three plugins I find most helpful for editing HTML and XML in vim are matchit, surround, and allml.

    Matchit will allow you to jump to the start/end tag with '%'. Surround allows you to easily add, delete, and change the surrounding tags. Allml provides you with a great set of mappings for editing (X)HTML and XML.

提交回复
热议问题