Give config/default keybinds higher precedence

This is highly experimental! It gives keybinds bound with `map!` much
higher precedence, allowing it to override the defaults imposed by
major modes and plugins (like evil-collection).
This commit is contained in:
Henrik Lissner 2018-03-21 22:26:56 -04:00
parent 69da6da541
commit abe42fcb9a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 19 additions and 35 deletions

View file

@ -63,6 +63,9 @@
(add-hook 'doom-init-hook #'evil-mode)
(evil-select-search-module 'evil-search-module 'evil-search)
;; ensure `doom-mode-map' has high precedence
(evil-make-overriding-map doom-mode-map)
(set! :popup "^\\*evil-registers" '((size . 0.3)))
(set! :popup "^\\*Command Line" '((size . 8)))