ftplugins in vim
I've been using vim for about two months and soon fell totally in love with it and wouldn't want to code with anything else. I don't understand the complaints about having to learn it when you get so much from it. Knowing vim lets you use vimperator for firefox too.
However, I would like to use some plugins and can't get them to work. Since I do lots of html/css I tried xmledit on vim.org, put xml.vim in ~/.vim/ftplugin and added filetype plugin on to my .vimrc. If I create an .xml file the script loads, is visible under :scriptnames and generates its documentation on first run, and then does absolutely nothing. AFAIK it's supposed to close tags automatically, but I haven't noticed any difference whatsoever.
I have tried this on more than one system so I'm obviously missing something. I wonder what it could be?
|