ui/doom-dashboard: lock user in normal mode
This commit is contained in:
parent
77831ec35c
commit
46cbbb6212
1 changed files with 6 additions and 2 deletions
|
@ -28,8 +28,12 @@
|
||||||
|
|
||||||
(after! evil
|
(after! evil
|
||||||
(map! :map +doom-dashboard-mode-map
|
(map! :map +doom-dashboard-mode-map
|
||||||
:em "j" '+doom-dashboard/next-button
|
:em "j" #'+doom-dashboard/next-button
|
||||||
:em "k" '+doom-dashboard/previous-button)
|
:em "k" #'+doom-dashboard/previous-button
|
||||||
|
[remap evil-insert] #'evil-normal-state
|
||||||
|
[remap evil-change] #'evil-normal-state
|
||||||
|
[remap evil-delete] #'evil-normal-state
|
||||||
|
[remap evil-delete-char] #'evil-normal-state)
|
||||||
|
|
||||||
(defun +doom-dashboard/next-button ()
|
(defun +doom-dashboard/next-button ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue