Only apply prefix arg fix to evil leaders

This commit is contained in:
Henrik Lissner 2019-03-09 02:40:11 -05:00
parent d5ba685817
commit 442bd7cfb9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -126,9 +126,10 @@
;; sensibly (and consistently with similar contexts).
;; Make SPC u SPC u [...] possible (#747)
(map! :map universal-argument-map
(when (featurep 'evil)
(map! :map universal-argument-map
:prefix doom-leader-key "u" #'universal-argument-more
:prefix doom-leader-alt-key "u" #'universal-argument-more)
:prefix doom-leader-alt-key "u" #'universal-argument-more))
(defun +default|setup-input-decode-map ()
"Ensure TAB and [tab] are treated the same in TTY Emacs."