ui/doom-dashboard: no emacs-state in dashboard

This commit is contained in:
Henrik Lissner 2018-02-01 19:45:20 -05:00
parent 2989296521
commit 4567054aed
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -58,8 +58,6 @@ Possible values:
(format "DOOM v%s" doom-version) (format "DOOM v%s" doom-version)
"Major mode for the DOOM dashboard buffer." "Major mode for the DOOM dashboard buffer."
(read-only-mode +1) (read-only-mode +1)
(when (featurep 'evil)
(evil-emacs-state))
(setq truncate-lines t) (setq truncate-lines t)
(setq-local whitespace-style nil) (setq-local whitespace-style nil)
(setq-local show-trailing-whitespace nil) (setq-local show-trailing-whitespace nil)
@ -72,6 +70,11 @@ Possible values:
"p" #'+doom-dashboard/previous-button "p" #'+doom-dashboard/previous-button
"N" #'+doom-dashboard/last-button "N" #'+doom-dashboard/last-button
"P" #'+doom-dashboard/first-button "P" #'+doom-dashboard/first-button
[remap evil-insert] #'ignore
[remap evil-replace] #'ignore
[remap evil-change] #'ignore
[remap evil-visual-char] #'ignore
[remap evil-visual-line] #'ignore
(:when (featurep! :feature evil) (:when (featurep! :feature evil)
:em "j" #'+doom-dashboard/next-button :em "j" #'+doom-dashboard/next-button
:em "k" #'+doom-dashboard/previous-button :em "k" #'+doom-dashboard/previous-button