branch: externals/ergoemacs-mode commit d33f63a3c6085c442ee58c79f4fa8cafd11118dd Author: Matthew Fidler <514778+mattfid...@users.noreply.github.com> Commit: Matthew Fidler <514778+mattfid...@users.noreply.github.com>
Remove comit because the bindings are overwritten by `ergoemacs-mode' --- ergoemacs-themes.el | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el index aef1ff9d9d..3138f75fa5 100644 --- a/ergoemacs-themes.el +++ b/ergoemacs-themes.el @@ -1306,7 +1306,6 @@ In a terminal, this can be either arrow keys (e.g. meta+O A == <up>) or regular (ergoemacs-install-isearch-mode) - (ergoemacs-install-comint-bindings) (ergoemacs-set-remaps ergoemacs-override-keymap) (ergoemacs-set-quit) @@ -1344,7 +1343,6 @@ In a terminal, this can be either arrow keys (e.g. meta+O A == <up>) or regular (ergoemacs-fix-arrow-keys map)) (ergoemacs-install-isearch-mode) - (ergoemacs-install-comint-bindings) (ergoemacs-set-remaps ergoemacs-override-keymap) (ergoemacs-set-quit) @@ -1425,21 +1423,6 @@ In a terminal, this can be either arrow keys (e.g. meta+O A == <up>) or regular (add-hook 'eshell-post-command-hook #'ergoemacs-install-eshell-bindings) -(require 'comint) -(defun ergoemacs-install-comint-bindings () - "Install comint key bindings." - (ergoemacs-save-key-state - 'comint-mode-map - (define-key comint-mode-map [remap move-beginning-of-line] 'comint-bol) - (if (string-equal ergoemacs-theme "reduction") - (progn - (ergoemacs-define-key comint-mode-map (kbd "<delete>") 'comint-delchar-or-maybe-eof) - (ergoemacs-define-key comint-mode-map (kbd "M-f") 'comint-delchar-or-maybe-eof) - (ergoemacs-define-key comint-mode-map (kbd "C-g") 'comint-delchar-or-maybe-eof)) - (ergoemacs-define-key comint-mode-map (kbd "<delete>") 'comint-delchar-or-maybe-eof) - (ergoemacs-define-key comint-mode-map (kbd "M-f") 'comint-delchar-or-maybe-eof) - (ergoemacs-define-key comint-mode-map (kbd "C-g") 'comint-delchar-or-maybe-eof)))) - (defun ergoemacs-install-dired-bindings () "Install `dired-mode-map' bindings." (ergoemacs-save-key-state