UTL 2.0 --- Universal Text Linking
- Hello All,
I'm glad to announce UTL 2.0:
Utl --- Universal Text Linking: Execute URLs in plain text, e.g. call
webbrowser, link MS Word documents, text files, embed vim commands...
Utl.vim is the successor of the thlnk.vim plugin.
What is Utl.vim
* It brings the benefits of URL-based hyperlinking to the realm of plain text,
extending the URL syntax for plain text needs, in accordance with the RFC 2396
* It's a handy utility
* It's fun
What is it good for?
* Enables Vim to be your central desktop application, for instance:
- Easily navigate in collections of related text files via hyperlinks
- Call web browser and email client on URLs (configurable protocol handlers)
- Call MS-Word on .doc files, Acrobat Reader on .pdf, Windows Explorer on
directories, IrfanView on .jpg etc. (configurable media type handlers)
- Maintain pictures from your digicam based on a text file
- Maintain a personal info file containing hotlinks
* Use it for project management, software development, report preparation and
technical writings. For instance:
- Reference emails from text files
- Reference bug tracker database from a text file
* Smart usages. For instance:
- Embed vim commands in text files and source code.
- Use it as light weight spell checker,
- or for dictionary lookups.
- Start programs using Utl.
- Use it for relative editing and
- for navigating HTML source code.
* Use it for quality commenting of source code. For instance:
- Reference related code with hot links, e.g. reference the definition of a
struct in C/C++
- Reference design papers, UML diagrams, man pages etc from source code
- Turn references like "see below" and "type zR to open the folds" into
Utl.vim is easy
* You only need to know one single command to get started: \gu = Go URL
1. Type :help utl-start
2. Hit \gu on the live examples given there
As a reader of texts containing URLs that's all! As an author you have to
know how to write URLs. But utl.vim gives you a training. And what you
will learn is 90% general knowlegde about URLs that you can use elsewhere.
* Utl.vim is friendly:
No side effects, fits seamlessly into your Vim Session, well documented.
- Call web browser on http URLs and email client on mailto URLs (configurable
- Call MS-Word on .doc files, Acrobat Reader on .pdf, IrfanView on .jpg etc.
(configurable media type handlers)
- Syntax highlighting for URLs (can be switched off)
- Support URL heuristics, e.g. allow www.vim.org, not only http://www.vim.org
- Support exeuction of URLs without <URL:...> embedding (e.g. execute URLs as they
mostly appear in not specifically written text like "see www.vim.org for Vim plugin"
- Support multiline URLs
- Smart setup and customization facility
- Tilde Support, e.g. allow <URL:~/foo/bar> and <URL:~user/foo/bar>
- Automatically open file in split window if current buffer cannot be
abandonned (e.g. is not written)
- #tn= fragment is now default, i.e. #tn=foo is same as #foo
Previously the ID-reference fragment #r=foo was the default. If you have
used the naked fragment with the previous version you might want to convert
your links. Use the search pattern /<URL:.*#[^=>]*> to find the links
which need to be converted (the pattern works within Vim as well as with the
grep program) and change # --into--> #r= . If I receive more than five
complains I will supply a converting utility :-)
The reason for this change was that #tn= semantics is used more often by
- Create documents on non existent local URLs (Wiki support).
No longer complain. Perhaps this should be customizable. For a set of
read-only documents complaining mighgt be better.
- On http URLs no longer use the wget utility for retrieving files on the web.
Instead delegate to your web browser.
- Bug fixes