a vim plugin insert easily a closing tag.
call InsertClosingTag()
-
Use dein:
call dein#add('rchaser53/insertclosetag')
or
-
Just put the file into ~/.vim/
-
Set this in your vimrc:
let g:loadedInsertTag = 1
I strongly recommend to call InsertClosingTag() in insert mode. Like below.
:inoremap <C-t> <ESC> :call InsertClosingTag()<CR>i