VHT : Vim HTML Templates
| script karma
Downloaded by 2838
Comments, bugs, improvements
script versions (upload new version)
|VHT is Vim implementation of Macromedia Dreamweaver(tm) templates and libraries. Templates make possible to share the same document template across whole project, libraries allow for sharing the same snippet of code in many documents. This plugin makes possible to commit and update code from repositories and take care about file paths in links and image tags, always changing them to be relative to currently edited file.
VHT doesn't provide immediate way to propagate changes across whole site. There is too many ways to maintain project in Vim. From session files, through project plugins from vim-online to simple file with list of files and opening it with "vim `cat fileslist`".
All commands work nice with :argdo, :windo, :bufdo set of commands.
But you have previously set b:vhtemplate for each file.
|Put vht.vim into your .vim/ftplugin/html/ directory
About installation of help file read :help add-local-help
For new version checking you can use GetLatestVimScripts script.
Click on the package to download.
ip used for rating: 22.214.171.124
||- fixed: don't require taglist for working
- added: VHLstrip, VHTstrip commands for removing tags
- added: VHLinsert, VHTinsert commands to insert library/editable region
- added: adding .vhl extension to library names when
user forgot about it
- added: silent unnecessary error messages during
VHTcommit - everything is working, Vim is overcautious
- added: GLVS AutoInstall compatible
- remove unnecessary function calls - replace with variable
||Bugfix release (serious one):
- Fixed support for window.open() JS
- Fixed adding multiple definitions to Tlist_Ctags_Cmd when editing
multiple html files.
- real support for Vim6.0 - get rid of cursor() function
- support for window.open JS method
- support for taglist.vim - it is possible to navigate in files using
not only standard ctags locations like anchors and js functions but
also editable regions and used libraries.
- security check for format of regions' names, also available as new
- support for links in url() - CSS and location - JS contexts
- unification of functions for parsing links
- before messing with links check if file exists: prevents unpredictable
Vim behaviour when file doesn't exists
- two new commands:
VHTshow - show currently assigned template and all available in
VHLshow - show all available libraries in project