MrTabby Newbie
Joined: 14 Jan 2002 Posts: 4 Location: United Kingdom
|
Posted: Mon Jan 14, 2002 5:21 pm
Disabling Tab completion/mapping Tab? |
Is it possible to disable the use of the <Tab> key for completing tab commands, and instead bind it to another macro/alias etc?
I am attempting to write an slightly more intelligent completer, which takes into account what you have already typed, and then completes from a list of possibles.
For example:
typing "spe<TAB>fireb<TAB>monkey" would complete to "cast fireball on monkey", but only if there was a monkey in the room, etc.
Similar to the Bash Shell in some respects.
(I suspect it could be done mostly using tab completion as it is, and dynamically adding and removing possible commands, but I think this way would be nicer if its possible)
Cheers
--
MrTabby |
|