For example, "ESC >" should be end-of-file, and it is defined as such in under Options->Editor Options->Keyboard Mapping, but Zeus inserts an escape and a ">" character.
There definitely seems to a problem with the handling of the ESC
and the Zeus Emacs binding.
What seems to be happening is when the ESC
is pressed and released all works just fine, but when the key is held down, the Windows auto repeat kicks in and starts generating a series of ESC
key presses. These then inserts the ESC
character 27 into the document
I did come up with what looks like a sort of work around, but not being an EMACS person I am not sure how good this suggestion actually is.
This is what I did:
- Edit the Emacs mapping
- Removed the Esc binding which is currently set to MarkHide
- Changed to the Esc prefix
- Moved to the keyboard input field
- I then typed in . and bound the key to MoveDocumentEnd
- Note: the bound keyboard list Escape + . as the binding because on my keyboard > is the shifted character of the . key.
- Note: To bind to the > key I would need to use the Shift + . key.
- I then applied the changes
Now with these changes I can press and release the Esc
key, then press and release the .
key and the cursor moves to the end of the document
But this stops working if I hold down the Esc
key, which then triggers the autorepeat, in which case the Esc
character is inserted into the document
Just out of interest on true EMACS, is the Esc
key bound to null
In other words if you hold down the Esc
key down does nothing happen