Usage:
/REQUIRE complete.tf
Loading complete.tf will define the following keybindings:
To use them, type part of a word, type one of the keybindings, and the rest of the word will be filled in for you automagically. ESC TAB attempts to figure out from context what kind of completion you want; the other bindings do more explicit completions.
By "from context", I mean it will look for patterns and decide which type of completion to use. For example, if the line begins with "/load", it will use filename completion; if the word begins with "%" or "%{", it will use variable name completion; etc.
The "ESC TAB" and "ESC ;" bindings will use the %{completion_list} variable, in which you can store a list of any words you want to be able to complete.
You can also define your own types of completion. See the %{TFLIBDIR}/complete.tf file for more information.