On Dec 6, 11:45 am, "Francisco M. Marzoa Alonso" <[email protected]> wrote: > Hi, > > I'm starting to use gvim as a text editor for webdevelopment, and I'm > installing some plugins to increase my productivity. > > One of the first I've installed is closetag.vim, so tags are > automatically closed as they're input, but it's not working. > > I've downloaded the plugin from here: > > http://www.vim.org/scripts/script.php?script_id=13 > > And followed the instructions in the same page, even put this on my ~/.vimrc > > :au Filetype html,xml,xsl source ~/.vim/scripts/closetag.vim > > I've then open a file for testing with: > > vim foo.html > > Then I insert an <html> tag, but it's not closed. >
The instructions on the same page say, that to close a tag, you need to press CTRL and _. But honestly this type of completion is already mostly available by default, pressing CTRL+X followed by CTRL+O after typing </ in insert mode. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
