diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-16 16:42:21 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-16 16:43:18 -0700 |
commit | 9b4fe185f4f4dac9bc02a4c16918755abb25fdb9 (patch) | |
tree | 60c4af2bf9bdf02007935c90c9397bee43de9e84 /.emacs.d | |
parent | caa15bedf586f23ba33c2d46e86c4a6d4114c6ad (diff) | |
download | dotfiles-9b4fe185f4f4dac9bc02a4c16918755abb25fdb9.tar.gz |
bind a key that's not already bound
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index afa1c364..cb2ba873 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -3431,9 +3431,9 @@ mutt's review view, after exiting EDITOR." (spw/feature-define-keys ((esh-mode eshell-mode-map)) "\C-z\C-c" spw/eshell-git-continue "\C-z\C-v" spw/eshell-git-abort) -;; 'M-K' to discard changes, though without saving the changed file's buffer. +;; C-z C-c to discard changes, though without saving the modified buffer. (with-eval-after-load 'diff-mode - (define-key diff-mode-map "\M-K" "\C-u\C-c\C-a\M-p\M-k")) + (define-key diff-mode-map "\C-z\C-c" "\C-u\C-c\C-a\M-p\M-k")) ;;;; Assorted packages |