Go to the first, previous, next, last section, table of contents.


A different action for each file type

Many files on UNIX systems have one or more extensions specifying their types. For example, a file that ends in `.c' is a file containing a C program, while a file ending in `.tar.gz' is a tar archive compressed with the gzip utility. Having a default action for each file type, binded on the same key, seems to be a good idea because you can use that key to obtain type specific information about a file or to process it in some type specific way much easier. The GIT package contains a script called gitaction that is used to detect the current file type and perform a type specific action. See section The GIT per file type action script, for more information.

F2, ESC 2, ^X a

Perform an action on the current file, depending on its type
(`FILE-ACTION').


Go to the first, previous, next, last section, table of contents.