sponsor Vim development Vim logo Vim Book Ad

utl.vim : Univeral Text Linking - Execute URLs, footnotes, open emails, organize ideas

 script karma  Rating 3203/1186, Downloaded by 18094  Comments, bugs, improvements  Vim wiki

created by
Stefan Bittner
 
script type
utility
 
description
--- WHAT IS UTL.VIM?

It brings the benefits of URL-based hyperlinking to plain text, extending the
URL syntax for plain text needs, in accordance with the RFC 2396 (towards
current RFC 3986) URL specification.

Utl is very easy to start. Just  :so %  the .vba file and dive into the live examples
of the doc.

--- USAGES

- Open any URLs found in text with appropriate handler
- Open files of any media type from within Vim (.pdf, .jpg, etc)
- Small helper utilities via embedded Vimscript
- Project management
- Organizing ideas
- Commenting source code
- Personal Wiki
- Editing HTML
- Bookmark files, directories, URLs

--- CHARACTERISTICS

- Well documented and helpful verbose mode
- Is easy to get started
- Stays out of the way, no side effects
- Extensible

--- KEYWORDS
Hypertext, URL, URI, email, footnotes, Wiki, bookmarks

--- CHANGES SINCE UTL V2.0

The most important changes are:

- Added generic media type handler: open .pdf, .doc,
  .jpg etc without the need to define handler variables.
- Added support for footnote references: make "[1]"
  executable.
- Added scheme to open emails, e.g.
  <mail:///Inbox?26.07.2008 16:01>
- Added verbose mode: Better figure out what's going on
- Added 'copy link/filename to clipboard' function
- Changed user interface: Basic Command :Utl instead
  only mapping \gu
- Alternate http access method: open web documents
  directly in Vim
- Support network files (shares, NFS), e.g.
  <file://127.0.0.1/path/to/file>
- Improved jumping back and forth
- More versatile scheme handler interface
- Fixed Bugs

--- EXAMPLES

For live examples and tutorial you can have a look into the docs
without installing by opening the download link below and search
for "getStarted"
 
install details
Download the utl_3_0a.vba file and open it in a Vim. Then follow
the instructions (:so %).
    
 

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
utl_3_0a.vba 3.0a ALPHA 2008-07-31 7.0 Stefan Bittner The most important changes are:
- Added generic media type handler: open .pdf, .doc,
  .jpg etc without the need to define handler variables.
- Added support for footnote references: make "[1]"
  executable.
- Added scheme to open emails, e.g.
  <mail:///Inbox?26.07.2008 16:01>
- Added verbose mode: Better figure out what's going
- Added 'copy link/filename to clipboard' function
- Changed user interface: Basic Command :Utl instead
  only mapping \gu
- Alternate http access method: open web documents
  directly in Vim
- Support network files (shares, NFS), e.g.
  <file://127.0.0.1/path/to/file>
- Improved jumping back and forth
- More versatile scheme handler interface
- Fixed Bugs
utl-2_0_0.zip 2.0 2005-03-27 6.0 Stefan Bittner Successor of Thlnk.vim with many new features:
* Call web browser and email client on URLs (configurable scheme handlers),
* Call MS-Word on .doc files, Acrobat Reader on .pdf, IrfanView on .jpg etc.
  (configurable media type handlers)
* New vimscript: protocol for embedding vim commands into text files and source code.
* Syntax highlighting of URLs
* Support for URL heuristics, e.g. allow www.vim.org, not only http://www.vim.org
* Support exeuction of URLs without <URL:...> embedding, e.g. "see www.vim.org"
* Support multiline URLs, Smart setup and customization facility, bugs fixed.
thlnk-1.2.1.zip 1.2.1 2002-06-15 6.0 Stefan Bittner Please see release notes for version 1.2. The reason for this version 1.2.1 is, that I
packed the .vim files with the wrong 'fileformats' setting into the .zip file. Sorry!
thlnk-1.2.zip 1.2 2002-06-15 6.0 Stefan Bittner - New section "Tips and Common Pitfails" added to the docs. Enhanced Documentation.
- Enhanced warning and error messages.
- Bug fixes:
  * {Visual}\gu didn't work on Windows gVim without guioptions+=a set.
  * Klaus Horsten <[email protected]>: With 'wrapscan' unset, fragment addressing could fail.
  * Patrik Nyman <[email protected]>: Non existing http: or rcp: URLs made thlnk
    list the current buffer.
ip used for rating: 142.132.191.50

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