Next: , Previous: Variables, Up: Top


12 Customizing Key Bindings and Variables

For those whose editor/pager of choice is not Emacs and who are not entirely satisfied with the –vi-keys option (see –vi-keys), GNU Info provides a way to define different key-to-command bindings and variable settings from the defaults described in this document.

On startup, GNU Info looks for a configuration file in the invoker's HOME directory called .info1. If it is present, and appears to contain Info configuration data, and was created with the current version of the infokey command, then Info adopts the key bindings and variable settings contained therein.

The .info file contains compact, non-textual data for reasons of efficiency and because its design was lifted wholesale from the GNU Less program, which also does it that way. It must be created by compiling a textual source file using the infokey command.


Footnotes

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