ergoemacs/ergoemacs-mode

Missing M-y binding in 20220411.338 (melpa)

kirill-lapshin opened this issue · 0 comments

After upgrading emacs to 28.1 had to upgdate ergoemacs to latest version from melpa and lost M-y bindings. Is it intentional? It used to do isearch-forward with M-Y doing isearch-backward. Now isearch-forward is on C-f, which I guess is more in line with common shortcuts from other apps. If it is an intentional change then it would be worth updating layout picture on https://ergoemacs.github.io/ which lists M-y / M-Y as isearch.

To reproduce, use minimal .emacs:

(require` 'package)
(package-initialize)

(setq ergoemacs-theme nil)
(setq ergoemacs-keyboard-layout "us")
(require 'ergoemacs-mode)
(ergoemacs-mode 1)

For now I've added back M-y / M-Y this way:

(define-key ergoemacs-user-keymap (kbd "M-y") 'isearch-forward)
(define-key ergoemacs-user-keymap (kbd "M-Y") 'isearch-backward)
(define-key isearch-mode-map (kbd "M-y") 'isearch-repeat-forward)
(define-key isearch-mode-map (kbd "M-Y") 'isearch-repeat-backward)