File: dir.doc

package info (click to toggle)
vile 9.7ze-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,372 kB
  • ctags: 9,314
  • sloc: ansic: 95,840; lex: 11,395; sh: 3,416; perl: 3,200; cpp: 3,180; makefile: 982; awk: 271; sed: 14
file content (67 lines) | stat: -rw-r--r-- 2,138 bytes parent folder | download
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
Directory-Browser Perl-extension for Vile                          version 9.7
-----------------------------------------                          -----------

                   Directory-Browser Perl-extension for Vile

   There is a directory browser extension for vile written with the perl
   interface.


Features
--------
   The main features of the directory browser are:
     * two panel display for separate listing of directories and files
     * configurable color hilighting based on the type of the file
     * recognizes broken symlinks
     * hypertext based directory traversal and file viewing
     * mime aware capabilities to view files using appropriate applications
     * plugins extension to the mime library to allow to view certain files
       within vile after passing through a vile based perl filter routine.


Details
-------
   The package contains the following three perl files.
     * directory.pl
     * mime.pl
     * plugins.pl

   Detailed pod documentation is contained within each file.

   The package also contains sample files for:
     * ~/.vile/mailcap
     * ~/.vile/mime.types


Getting Started
---------------
   To get started off without reading the documentation:
    1. put all the three perl files in ~/.vile/perl
    2. put the sample mailcap and mime.types files in ~/.vile
    3. put the following lines in your .vilerc

             22 store-macro
                 ~force execute-hypertext-command
                 ~if &not $status
                     ~force forward-character-to-eol
                 ~endif
             ~endm
             bind-key execute-macro-22 ^M
             perl "use directory"

    4. open up vile and type

             :directory

    5. Press <RETURN> on directory name to change to that directory and on
       the file name to view that file.


Credits
-------
   The perl directory-browser script was written by Kuntal M Daftary in 1998.
   Kevin Buettner provided help with bug-fixes.

-- (generated by make-hlp.pl from dir.html(1.4))
-- vile:txtmode fillcol=78
-- $Header: /usr/build/vile/vile/doc/RCS/dir.doc,v 1.8 2009/12/29 11:49:28 tom Exp $