From 3405d153a7bd6841e9b4982f729c2bf6cbb25de1 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 22 Nov 2019 18:19:08 -0500 Subject: [PATCH] Ensure general bindings override properly --- emacs/init.org | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index b5a1410..5987691 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -162,12 +162,12 @@ Use the spacebar as a leader key in evil-mode's normal state and in various othe ** Additional keybindings #+BEGIN_SRC emacs-lisp - (general-def 'normal "zM" #'hs-hide-level) - (general-def 'normal "z=" #'text-scale-increase) - (general-def 'normal "z-" #'text-scale-decrease) - (general-def 'normal "z0" #'text-scale-adjust) - (general-def 'normal view-mode-map "0" nil) - (general-def 'normal messages-buffer-mode-map "SPC" leader-map) + (general-def 'normal "zM" #'hs-hide-level :keymaps 'override) + (general-def 'normal "z=" #'text-scale-increase :keymaps 'override) + (general-def 'normal "z-" #'text-scale-decrease :keymaps 'override) + (general-def 'normal "z0" #'text-scale-adjust :keymaps 'override) + (general-def 'normal view-mode-map "0" nil :keymaps 'override) + (general-def 'normal messages-buffer-mode-map "SPC" leader-map :keymaps 'override) #+END_SRC * Magit @@ -253,7 +253,7 @@ Requires: ** Editing Elisp #+BEGIN_SRC emacs-lisp - (general-def 'motion emacs-lisp-mode "C-c C-c" #'eval-defun) + (general-def 'motion emacs-lisp-mode "C-c C-c" #'eval-defun :keymaps 'override) #+END_SRC ** Load path For machine or user specific libraries: