ui/doom-dashboard: disable visual mode in post-command-hook too
This commit is contained in:
parent
8f21154e50
commit
b68fa3b120
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ Possible values:
|
|||
|
||||
(defun +doom-dashboard|reposition-point ()
|
||||
"Trap the point in the buttons."
|
||||
(when (region-active-p)
|
||||
(deactivate-mark t)
|
||||
(when (bound-and-true-p evil-mode)
|
||||
(evil-change-to-previous-state)))
|
||||
(or (ignore-errors
|
||||
(if (button-at (point))
|
||||
(forward-button 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue