Skip to content

Commit

Permalink
spacemacs-buffer: Make map overriding for evil
Browse files Browse the repository at this point in the history
Prevents keys in this map from being shadowed by evil-motion-state-map

Fix #4471
  • Loading branch information
justbur authored and syl20bnr committed Jan 9, 2016
1 parent c4a1a56 commit f52eb86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/core-spacemacs-buffer.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ version the release note it displayed")
map)
"Keymap for spacemacs buffer mode.")

(with-eval-after-load 'evil
(evil-make-overriding-map spacemacs-buffer-mode-map 'motion))

(define-derived-mode spacemacs-buffer-mode special-mode "Spacemacs buffer"
"Spacemacs major mode for startup screen.
Expand Down

0 comments on commit f52eb86

Please sign in to comment.