Closed kirill-lapshin closed 1 year ago
This should be fixed in the github version.
Using the github version I am still encountering this issue. I'm using ksh and xterm on OpenBSD 7.0
@mattfidler I think when
check is unnecessary here
(defun ergoemacs-fix-arrow-keys (keymap)
"Fix arrow keys for KEYMAP."
(let (ergoemacs-M-O-binding)
(when ergoemacs-M-O-binding
(setq ergoemacs-M-O-binding (lookup-key keymap (kbd "M-O")))
(define-key keymap (kbd "M-O") 'ergoemacs-handle-M-O)
(define-key keymap [ergoemacs-meta-O] ergoemacs-M-O-binding))))
The variable ergoemacs-M-O-binding
is always nil
due to let
statement.
I removed it and the function works now.
Thanks @boykov
Removed
There are number of old issues on this topic, e.g. #280. I'm accessing Linux machine from windows via Git bash, putty and run emacs in terminal (not X).
For functional keys same experiment produces different results. In git bash functional keys are broken same way as arrows, but they work fine in putty even after loading ergoemacs.
Using emacs 27.1 and recent ergoemacs from github.