These directives allow you to change the keys used for TCC command line editing and other internal functions. They cannot be entered via the configuration dialogs; you must enter them manually (see the .INI file topic for details).


They are divided into four types, depending on the context in which the keys are used. For a discussion and list of directives for each type see:


Onestep        General Input Keys

Onestep        Command Line Editing Keys

Onestep        Popup Window Keys

Onestep        LIST Keys


Using a key mapping directive allows you to assign a different or additional key to perform the function described. For example, to use function key F3 to invoke the HELP facility (normally invoked with F1):


Help = F3


Any directive can be used multiple times to assign multiple keys to the same function. For example:


ListFind = F            ;F does a find in LIST

ListFind = F4           ;F4 also does a find in LIST


Use some care when you reassign keystrokes. If you assign a default key to a different function, it will no longer be available for its original use. For example, if you assign F1 to the AddFile directive (a part of filename completion), the F1 key will no longer invoke the help system, so you will probably want to assign a different key to Help.


See Keys and Key Names before using the key mapping directives.


Key assignments are processed before looking for keystroke aliases. For example, if you assign Shift-F1 to HELP and also assign Shift-F1 to a key alias, the key alias will be ignored.


Assigning a new keystroke for a function does not deassign the default keystroke for the same function. If you want to deassign one of the default keys, use the NormalKey, NormalEditKey, NormalPopupKey or NormalListKey directive. You must also deassign default keys before you can assign them to a different usage.


Note: if you assign the same key to two different functions, the first assignment found in the list will be used.