File: plugin_utl.vim.html

package info (click to toggle)
vim-scripts 20130814
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,608 kB
  • ctags: 2,511
  • sloc: perl: 452; xml: 95; makefile: 25
file content (491 lines) | stat: -rw-r--r-- 24,539 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
  <link rel="Stylesheet" type="text/css" href="/css/style.css" >
  <title>utl.vim - Univeral Text Linking - Execute URLs in plain text, e.g. call browser, MS Word : vim online</title>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <meta name="KEYWORDS" content="Vim, Vi IMproved, text editor, home, documentation, tips, scripts, news">
  <link rel="shortcut icon" type="image/x-icon" href="/images/vim_shortcut.ico">
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff"> 

<!-- HEADER, SPONSOR IMAGE, VIM IMAGE AND BOOK AD -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red">
  <tr>
    <td colspan="4" class="lightbg"><img src="/images/spacer.gif" width="1" height="5" alt=""></td>
  </tr>
  <tr>
  <td class="lightbg">&nbsp;&nbsp;&nbsp;</td>
  <td class="lightbg" align="left"><a href="/sponsor/index.php"><img src="/images/sponsorvim.gif" alt="sponsor Vim development" border="0"></a></td>
    <td class="lightbg" align="center"><a href="/index.php"><img src="/images/vim_header.gif" border="0" alt="Vim logo"></a></td>
    <td class="lightbg" align="right"><a href="http://iccf-holland.org/click5.html"><img src="/images/buyhelplearn.gif" alt="Vim Book Ad" border="0"></a></td>
  </tr>
  <tr>
    <td colspan="4" class="lightbg"><img src="/images/spacer.gif" width="1" height="5" alt=""></td>
  </tr>
  <tr>
    <td colspan="4" class="darkbg"><img src="/images/spacer.gif" width="1" height="10" alt=""></td>
  </tr>
</table>
<!-- THE PAGE BODY: BETWEEN HEADER AND FOOTER -->

<table cellpadding="0" cellspacing="0" border="0" width="100%">
  <col width="180">
  <col width="1">

  <tr valign="top">
    <td class="sidebar">
      <table width="180" cellpadding="4" cellspacing="0" border="0">
        <tr valign="top">
          <td class="sidebar">

<!-- INCLUDE THE PAGE NAVIGATION -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red">
    <tr>
        <td><small>not logged in (<a href="/login.php">login</a>)</small></td>
    </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td>
    </tr>
    <tr>
        <td class="darkbg"><img src="/images/spacer.gif" alt='' border="0" height="3"></td>
    </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="2"></td>
    </tr>
        <tr>
            <td class="sidebarheader"><a href="/index.php">Home</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/search.php">Search</a></td>
        </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
    </tr>
    <tr>
        <td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td>
    </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
    </tr>
        <tr>
            <td class="sidebarheader"><a href="/about.php">About Vim</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/community.php">Community</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/news/news.php">News</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/sponsor/index.php">Sponsoring</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/trivia.php">Trivia</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/docs.php">Documentation</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/download.php">Download</a></td>
        </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
    </tr>
    <tr>
        <td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td>
    </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
    </tr>
        <tr>
            <td class="sidebarheader"><a href="/scripts/index.php">Scripts</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/tips/index.php">Tips</a></td>
        </tr>
        <tr>
            <td class="sidebarheader"><a href="/account/index.php">My Account</a></td>
        </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
    </tr>
    <tr>
        <td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td>
    </tr>
    <tr>
        <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
    </tr>
        <tr>
            <td class="sidebarheader"><a href="/huh.php">Site Help</a></td>
        </tr>
</table>

            <table width="172" cellpadding="0" cellspacing="0" border="0">
              <tr><td><img src="/images/spacer.gif" alt="" border="0" width="1" height="8"></td></tr>
              <tr><td class="darkbg"><img src="/images/spacer.gif" width="1" height="3" alt=""></td></tr>
            </table>
            <br>

<!-- INCLUDE THE PAGE SIDEBAR TEXT -->
&nbsp;

          </td>
        </tr>
      </table>
    </td>

    <td class="darkbg"><img src="/images/spacer.gif" width="1" height="1" border="0" alt=""><br></td>
    <td>
      <table width="100%" cellpadding="10" cellspacing="0" border="0" bordercolor="red">
        <tr>
          <td valign="top">

<span class="txth1">utl.vim : Univeral Text Linking - Execute URLs in plain text, e.g. call browser, MS Word</span> 

<br>
<br>

<!-- karma table -->
<table cellpadding="4" cellspacing="0" border="1" bordercolor="#000066">
<tr>
  <td class="lightbg"><b>&nbsp;script karma&nbsp;</b></td>
  <td>
    Rating <b>2361/711</b>,
    Downloaded by 3242  </td>
</tr>
</table>
<p>

<table cellspacing="0" cellpadding="0" border="0">
<tr><td class="prompt">created by</td></tr>
<tr><td><a href="/account/profile.php?user_id=659">Stefan Bittner</a></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td class="prompt">script type</td></tr>
<tr><td>utility</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td class="prompt">description</td></tr>
<tr><td>Utl.vim is the successor of the thlnk.vim plugin.
<br>
<br>WHAT&nbsp;&nbsp;IS&nbsp;&nbsp;UTL.VIM ?
<br>
<br>* It brings the benefits of URL-based hyperlinking to the realm of plain text,
<br>&nbsp;&nbsp;extending the URL syntax for plain text needs, in accordance with the RFC 2396
<br>&nbsp;&nbsp;URI specification.
<br>
<br>* It's a handy utility for you right away. See examples below.
<br>
<br>* It's fun :-)
<br>&nbsp;&nbsp;surfing text files, executing text ...
<br>
<br>
<br>WHAT&nbsp;&nbsp;IS&nbsp;&nbsp;IT&nbsp;&nbsp;GOOD&nbsp;&nbsp;FOR ?
<br>
<br>* Enables Vim to be your central desktop application, for instance:
<br>
<br>&nbsp;&nbsp;- Easily navigate in collections of related text files via hyperlinks
<br>&nbsp;&nbsp;- Call web browser and email client on URLs (configurable protocol handlers)
<br>&nbsp;&nbsp;- Call MS-Word on .doc files, Acrobat Reader on .pdf, Windows Explorer on
<br>&nbsp;&nbsp;&nbsp;&nbsp;directories, IrfanView on .jpg etc. (configurable media type handlers)
<br>&nbsp;&nbsp;- Maintain pictures from your digicam based on a text file
<br>&nbsp;&nbsp;- Maintain a personal info file containing hotlinks
<br>
<br>* Use it for project management, software development, report preparation and
<br>&nbsp;&nbsp;technical writings. For instance:
<br>
<br>&nbsp;&nbsp;- Reference emails from text files
<br>&nbsp;&nbsp;- Reference bug tracker database from a text file
<br>
<br>* Smart usages. For instance:
<br>
<br>&nbsp;&nbsp;- Embed vim commands in text files and source code.
<br>&nbsp;&nbsp;- Use it as light weight spell checker,
<br>&nbsp;&nbsp;- or for dictionary lookups.
<br>&nbsp;&nbsp;- Start programs using Utl.
<br>&nbsp;&nbsp;- Use it for relative editing and
<br>&nbsp;&nbsp;- for navigating HTML source code.
<br>
<br>* Use it for quality commenting of source code. For instance:
<br>
<br>&nbsp;&nbsp;- Reference related code with hot links, e.g. reference the definition of a
<br>&nbsp;&nbsp;&nbsp;&nbsp;struct in C/C++
<br>&nbsp;&nbsp;- Reference design papers, UML diagrams, man pages etc from source code
<br>&nbsp;&nbsp;- Turn references like &quot;see below&quot; and &quot;type zR to open the folds&quot; into
<br>&nbsp;&nbsp;&nbsp;&nbsp;hotlinks
<br>
<br>
<br>UTL.VIM&nbsp;&nbsp;IS&nbsp;&nbsp;EASY
<br>
<br>* You only need to know one single command to get started: \gu = Go URL 
<br>
<br>&nbsp;&nbsp;1. Type :help utl-start 
<br>
<br>&nbsp;&nbsp;2. Hit \gu on the live examples given there 
<br>
<br>&nbsp;&nbsp;As a reader of texts containing URLs that's all! As an author you have to 
<br>&nbsp;&nbsp;know how to write URLs. But utl.vim gives you a training. And what you 
<br>&nbsp;&nbsp;will learn is 90% general knowlegde about URLs that you can use elsewhere. 
<br>
<br>* Utl.vim is friendly: 
<br>&nbsp;&nbsp;No side effects, fits seamlessly into your Vim Session, well documented. 
<br>
<br>
<br>EXAMPLES
<br>
<br>Here are some simplistic examples. Assume you have the following stuff in a file and
<br>execute the URL under the cursor with command \gu (all URLs can be with or without
<br>&lt;URL:...&gt; embedding):
<br>
<br>* Call your web browser (setup with a smart utility) and display www.vim.org
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;URL with embedding (and syntax highlighting)...
<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;URL:<a target="_blank" href="http://www.vim.org&gt">http://www.vim.org&gt</A>;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...or without embedding...
<br>&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://www.vim.org">http://www.vim.org</A>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...or rudimentary URL
<br>&nbsp;&nbsp;&nbsp;&nbsp;www.vim.org
<br>
<br>* Call your mailer
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;mailto:stb@bf-consulting.de
<br>&nbsp;&nbsp;&nbsp;&nbsp;stb@bf-consulting.de
<br>&nbsp;&nbsp;&nbsp;&nbsp;stb@bf-consulting.de?Subject=UTL&Cc=bram@moolenaar.net
<br>
<br>* Link to a local file to be displayed in a Vim window...
<br>&nbsp;&nbsp;(This is a bit like Vim's gf command, but portable and indepent of 'path' setting
<br>&nbsp;&nbsp;and cwd)
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;///file:/home/stb/.vimrc&nbsp;&nbsp;&nbsp;&nbsp;or
<br>&nbsp;&nbsp;&nbsp;&nbsp;/home/stb/.vimrc 
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foo.txt in same directory as file containing this link
<br>&nbsp;&nbsp;&nbsp;&nbsp;foo.txt&nbsp;&nbsp; or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&nbsp;&nbsp;&nbsp;&nbsp;./foo.txt
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bar.txt in sibbling directory of file containing this link
<br>&nbsp;&nbsp;&nbsp;&nbsp;../sib/bar.txt&nbsp;&nbsp;
<br>
<br>* ...with fragment
<br>&nbsp;&nbsp;(This is a bit like tags, but theres is no tags file)
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jump to specific position in target file foo.txt by searching
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;searchString (use this to turn phrases like &quot;see in file foo.txt
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and search for searchString&quot; into hotlinks) ...
<br>&nbsp;&nbsp;&nbsp;&nbsp;foo.txt#searchString
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...or direct addressing of a line...
<br>&nbsp;&nbsp;&nbsp;&nbsp;foo.txt#line=123
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...or refer to the anchor `id=myIdentifier'
<br>&nbsp;&nbsp;&nbsp;&nbsp;foo.txt#r=myIdentifier&nbsp;&nbsp;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...or without a file, i.e. refers to current document (use this
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to turn phrases like &quot;see below&quot; into hotlinks)
<br>&nbsp;&nbsp;&nbsp;&nbsp;#searchString&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>
<br>* Link to a local file displayed by a handler application
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hand over to MS Word (or Open Office, depending on the media type
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;handler you setup in UTL)
<br>&nbsp;&nbsp;&nbsp;&nbsp;foo.doc 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;typically call Acrobat Reader
<br>&nbsp;&nbsp;&nbsp;&nbsp;foo.pdf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;typically call IrfanView or XnView 
<br>&nbsp;&nbsp;&nbsp;&nbsp;foo.jpg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>
<br>* Link to a directory
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;call Vim-Explorer or call Windows Explorer or DOS box or Unix shell
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(with directory properly set)
<br>&nbsp;&nbsp;&nbsp;&nbsp;dir/&nbsp;&nbsp;or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>&nbsp;&nbsp;&nbsp;&nbsp;dir
<br>
<br>* Embed Vim commands in text 
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;switch colorscheme (perhaps maintain an annotated file with all Vim
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;schemes available?)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;URL:vimscript:colors peachpuff&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open all folds (perhaps into your plugin for users who don't know
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;how to use folds)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;URL:vimscript:normal zR&gt;
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reference the Vim help (perhaps into the source code of your own
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;plugins to explain certain constructs)...
<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;URL:vimhelp:expr-==&gt;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...again combined with a fragment to precisely address the exact
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position
<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;URL:vimhelp:expr-==#^since a string&gt;
<br>
<br>* Command line command :Gu to execute URLs:
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;same as first example ( or may I already speak UTL to you:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`same as #tp=browser ' :-)
<br>&nbsp;&nbsp;&nbsp;&nbsp;:Gu www.vim.org&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Open Windows Explorer (or whatever) displaying the directory where
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the current file is in (on Windows very convenient in your daily
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;click click struggle)
<br>&nbsp;&nbsp;&nbsp;&nbsp;:Gu .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>
<br>The UTL documentation contains lots of practical examples and usage patterns.
<br>
<br>[keywords: hypertext, hyperlink]</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td class="prompt">install details</td></tr>
<tr><td>1.
<br>
<br>Unzip to your plugin directory
<br>
<br>2.
<br>
<br>Start a new Vim
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;Note: If you have installed UTLs predecessor &quot;Thlnk&quot; messages like &quot;E227:
<br>&nbsp;&nbsp;&nbsp;&nbsp;mapping already exists for ...&quot; will appear. Just ignore these.
<br>
<br>3.
<br>
<br>Execute the Vim command&nbsp;&nbsp;:call Utl_finish_installation()
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;This does the following:
<br>&nbsp;&nbsp;&nbsp;&nbsp;- If you have installed UTLs predecessor &quot;Thlnk&quot; it will carefully rename
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thlnk*.vim/doc files to files to .ori names. Thlnk and UTL cannot live
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;together.
<br>&nbsp;&nbsp;&nbsp;&nbsp;- Generate the help tags file
<br>
<br>4.
<br>
<br>Restart Vim and execute:
<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;:help utl-start
<br>
<br>and dive into the live examples...</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

<!-- rating table -->
<form name="rating">
<input type="hidden" name="script_id" value="293">
<table cellpadding="4" cellspacing="0" border="1" bordercolor="#000066">
<tr>
  <td class="lightbg"><b>rate this script</b></td>
  <td valign="middle">
    <input type="radio" name="rating" value="life_changing">Life Changing
    <input type="radio" name="rating" value="helpful">Helpful
    <input type="radio" name="rating" value="unfulfilling">Unfulfilling&nbsp;
    <input type="submit" value="rate">
  </td>
</tr>
</table>
</form>
<span class="txth2">script versions</span> (<a href="add_script_version.php?script_id=293">upload new version</a>)
<p>
Click on the package to download.
<p>

<table cellspacing="2" cellpadding="4" border="0" width="100%">
<tr class='tableheader'>
        <th valign="top">package</th>
    <th valign="top">script version</th>
    <th valign="top">date</th>
    <th valign="top">Vim version</th>
    <th valign="top">user</th>
    <th valign="top">release notes</th>
</tr>
<tr>
        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4085">utl-2_0_0.zip</a></td>
    <td class="rowodd" valign="top" nowrap><b>2.0</b></td>
    <td class="rowodd" valign="top" nowrap><i>2005-03-27</i></td>
    <td class="rowodd" valign="top" nowrap>6.0</td>
    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=659">Stefan Bittner</a></i></td>
    <td class="rowodd" valign="top" width="2000">Successor of Thlnk.vim with many new features:
<br>* Call web browser and email client on URLs (configurable scheme handlers),
<br>* Call MS-Word on .doc files, Acrobat Reader on .pdf, IrfanView on .jpg etc.
<br>&nbsp;&nbsp;(configurable media type handlers)
<br>* New vimscript: protocol for embedding vim commands into text files and source code.
<br>* Syntax highlighting of URLs
<br>* Support for URL heuristics, e.g. allow www.vim.org, not only <a target="_blank" href="http://www.vim.org">http://www.vim.org</A>
<br>* Support exeuction of URLs without &lt;URL:...&gt; embedding, e.g. &quot;see www.vim.org&quot;
<br>* Support multiline URLs, Smart setup and customization facility, bugs fixed.
<br></td>
</tr>
<tr>
        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=927">thlnk-1.2.1.zip</a></td>
    <td class="roweven" valign="top" nowrap><b>1.2.1</b></td>
    <td class="roweven" valign="top" nowrap><i>2002-06-15</i></td>
    <td class="roweven" valign="top" nowrap>6.0</td>
    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=659">Stefan Bittner</a></i></td>
    <td class="roweven" valign="top" width="2000">Please see release notes for version 1.2. The reason for this version 1.2.1 is, that I
<br>packed the .vim files with the wrong 'fileformats' setting into the .zip file. Sorry!</td>
</tr>
<tr>
        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=926">thlnk-1.2.zip</a></td>
    <td class="rowodd" valign="top" nowrap><b>1.2</b></td>
    <td class="rowodd" valign="top" nowrap><i>2002-06-15</i></td>
    <td class="rowodd" valign="top" nowrap>6.0</td>
    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=659">Stefan Bittner</a></i></td>
    <td class="rowodd" valign="top" width="2000">- New section &quot;Tips and Common Pitfails&quot; added to the docs. Enhanced Documentation.
<br>- Enhanced warning and error messages.
<br>- Bug fixes:
<br>&nbsp;&nbsp;* {Visual}\gu didn't work on Windows gVim without guioptions+=a set.
<br>&nbsp;&nbsp;* Klaus Horsten &lt;horsten@gmx.at&gt;: With 'wrapscan' unset, fragment addressing could fail.
<br>&nbsp;&nbsp;* Patrik Nyman &lt;patrik.nyman@orient.su.se&gt;: Non existing http: or rcp: URLs made thlnk
<br>&nbsp;&nbsp;&nbsp;&nbsp;list the current buffer.</td>
</tr>
</table>
<!-- finish off the framework -->
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

<!-- END OF THE PAGE BODY: BETWEEN HEADER AND FOOTER -->

<table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red">
  <tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td></tr>
  <tr><td colspan="4" bgcolor="#000000"><img src="/images/spacer.gif" height="2" width="1" alt=""></td></tr>
  <tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td></tr>
  <tr>
    <td><img src="/images/spacer.gif" width="5" height="1" alt=""></td>

    <td align="left" valign="top"><small>
      If you have questions or remarks about this site, visit the
      <a href="http://vimonline.sf.net">vimonline development</a> pages.
      Please use this site responsibly.
      <br> 
      
      Questions about <a href="http://www.vim.org/about.php">Vim</a> should go
      to the <a href="http://www.vim.org/maillist.php">maillist</a>.
      Help Bram <a href="http://iccf-holland.org/">help Uganda</a>.
      </small>
	&nbsp;
	&nbsp;

	<!-- Start of StatCounter Code -->
	<script type="text/javascript" language="javascript">
	var sc_project=1417324; 
	var sc_invisible=1; 
	var sc_partition=11; 
	var sc_security="d41633bc"; 
	</script>

	<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img  src="http://c12.statcounter.com/counter.php?sc_project=1417324&java=0&security=d41633bc&invisible=0" alt="free tracking" border="0"></a> </noscript>
	<!-- End of StatCounter Code -->
          </td>

    <td align="right" valign="top">
      	<a href="http://www.webconceptgroup.net"><img src="/images/logo_sponsor_wcg.jpg" width="131" height="30" border="0" alt="Sponsored by Web Concept Group Inc."></a>
	<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=8&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
    </td>

    <td><img src="/images/spacer.gif" width="5" height="1" alt=""></td>
  </tr>

    
  <tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td>
  
  </tr>
</table>

</body>
</html>