diff options
Diffstat (limited to 'modules/workstation/emacs/init.el')
-rw-r--r-- | modules/workstation/emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el index 0d3c45b90ce2..b2694a7425b1 100644 --- a/modules/workstation/emacs/init.el +++ b/modules/workstation/emacs/init.el @@ -51,6 +51,12 @@ ;; This relies on an Emacs patch to apply to async-shell-command. (setq comint-terminfo-terminal "dumb-emacs-ansi") +;;; Diff Mode ;;; +;; Unbind M-DEL from scroll-down-command, so it does the same thing as +;; in the rest of Emacs (backward-kill-word). +(with-eval-after-load 'diff-mode + (define-key diff-mode-map (kbd "M-DEL") nil)) + ;;; Dired ;;; (with-eval-after-load 'dired (setq dired-listing-switches |