http://invisible-island.net/vile/vile-toc
There is a directory browser extension for vile
written with the perl interface.
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.
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
To get started off
without reading the documentation:
- put all the three perl files in ~/.vile/perl
- put the sample mailcap and mime.types files in ~/.vile
- put the following lines in your .vilerc
22 store-macro
~force execute-hypertext-command
~if ¬ $status
~force forward-character-to-eol
~endif
~endm
bind-key execute-macro-22 ^M
perl "use directory"
- open up vile and type
:directory
- Press <RETURN> on directory name to change to that
directory and on the file name to view that file.
The perl directory-browser script was
written by Kuntal M Daftary in 1998. Kevin Buettner provided help
with bug-fixes.