sponsor Vim development Vim logo Vim Book Ad

VUT : Vim Universal Templates

 script karma  Rating 10/4, Downloaded by 2492  Comments, bugs, improvements  Vim wiki

created by
Mikolaj Machowski
 
script type
utility
 
description
VUT - Vim Universal Templates are direct continuation
of VHT Script #988. Difference is you can define comment
strings and use editable or library tags in every type of
file (html, xhtml, css, javascript, cpp, tex, vim, etc.).

When migrating from VHT -
HAVE TO CHANGE
- change name of core file from *.htmlmain into *.vutmain
- default comment strings are /*, */, script package
  is providing configuration for popular types of files:
xhtml, html, tex, vim

NOT HAVE TO CHANGE
- extensions of files are still the same (vhl, vht)

Old commands are saved for backwards compatibility but added new set of
commands beginning with VUT or VUL. Note - VH commands may be dropped in
future.

Additional changes:
- VULupdate/VUTupdate can take name of library as an argument. Example:
:VULupdate panel.vhl
This will update contents of LibraryItem panel.vhl regardless of cursor
position. Superuseful in connection with :argdo family. Argument had be
a full path with .vhl extension.
- added: use ~/Library/ for global library items for VULshow.  
- fixed: VUTcommit.
 
install details
copy zip archive to you vimfiles/.vim directory. unzip it.
GLVS AutoInstall compatible.

Install help with :helptags ~/doc
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vut.zip 1.2 2004-09-03 6.0 Mikolaj Machowski - added: VUXinsert commands can take range (also visual)
- added: VULadd command - choose region and call function
with obligatory name argument, and immediately commit it.
vut.zip 1.1 2004-09-02 6.0 Mikolaj Machowski - added: library hints are given with proper relative paths to insert in
  BeginLibraryItem declaration
- added: libraries in global dir (~/Library) can be put in filetype
  directories and only them will be shown. Example for ~/projekt/some.js
  VULcheckout will show libraries (.vhl files) in:
~/projekt
~/projekt/Library
~/Library
~/Library/javascript
  Note: hierarchy in ~/Library have to be in filetypes, not file
  extensions.
- added: command completion for VUXcheckout, VUXupdate (Vim 6.2
  required)
- added: GLVS line for AutoInstall in script
- added: shell scriptlet for comment strings
vut.zip 1.0 2004-09-01 6.0 Mikolaj Machowski Initial upload
ip used for rating: 3.145.163.58

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github