Ensure general bindings override properly
This commit is contained in:
parent
ec33b64d2b
commit
3405d153a7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user