Installation

To install the xml.vim plugin, follow these steps:

  1. Download latest version of the xml.vim plugin from https://github.com/vim-scripts/xml.vim.

  2. Unzip the file to the ~/.vim/ftplugin/ directory.

  3. Because Vim uses other default XML features we want to use, edit ~/.vim/ftplugin/xml.vim and comment (") the line

    b:did_ftplugin = 1
  4. Restart Vim. Now you can access the plugin's help by entering

    :help xml-plugin