Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? v15: Can't alias Alt-Z

Jul
32
0
I historically use this alias:
@@Alt-Z @dir

Now with v15, Alt-Z is bound to Undo. Tried to reconfigure it to use Ctrl-Z in TCMD.INI, but this just adds Ctrl-Z as Undo - doesn't unbind Alt-Z. Can't use Alt-Z for my alias.

Any ideas?
 
As a preliminary solution: Remap Alt-Z to another key in your TCMD.INI - I am not sure if a "permanent solution" is acutally necessary....
 
Use the directive
NormalEditKey=Alt-Z
to unmap Alt-Z (Help > Configuration > Initialization Files > Directives > Key Mapping Directives > Command Line Editing Keys > NormalEditKey)
 
As a preliminary solution: Remap Alt-Z to another key in your TCMD.INI - I am not sure if a "permanent solution" is acutally necessary....
You cannot "remap" a key which is assigned a special function; what you need to do is unmap the key. A key which is mapped as the default to perform a specific action is during a specific phase of TCC operation is unmapped by one of the directives NormalKey, NormalEditKey, NormalListKey, or NormalPopupKey. See HELP for the list of key mappings and the applicability of each of these unmapping directives.
 
Oh, and you can always assign more than one key to a specific operation. Assigning the same key to more than one operation in the same input phase is an error; typically the first assigned operation results, but there are no guarantees.
 

Similar threads

Back
Top