15 Customizing Key Bindings and Variables

Info allows you to override the default key-to-command bindings and variable settings described in this document. On startup, GNU Info looks for a configuration file:

This search order is compatible with the XDG Base Directory Specification although doesn’t follow it in every detail.

To use an alternative configuration file, use the --init-file option (see --init-file).

If an infokey file is found, then Info adopts the key bindings and variable settings contained therein.

Variables may also be set on the command line with the --variable option (see variable-assignment). Variable settings on the command line override settings from the infokey file.

(The --vi-keys option rebinds many keys at once; see --vi-keys.)


Footnotes

(3)

Due to the limitations of DOS filesystems, the MS-DOS version of Info looks for a file _infokey instead. If the HOME variable is not defined, Info additionally looks in the current directory.