Fix mouse-1 on buttons initiating a selection
This commit is contained in:
parent
f18caa1518
commit
6982281404
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ directives. By default, this only recognizes C directives.")
|
||||||
;; Start help-with-tutorial in emacs state
|
;; Start help-with-tutorial in emacs state
|
||||||
(advice-add #'help-with-tutorial :after (lambda (&rest _) (evil-emacs-state +1)))
|
(advice-add #'help-with-tutorial :after (lambda (&rest _) (evil-emacs-state +1)))
|
||||||
|
|
||||||
|
;; Allows you to click buttons without initiating a selection
|
||||||
|
(define-key evil-motion-state-map [down-mouse-1] nil)
|
||||||
|
|
||||||
;; Done in a hook to ensure the popup rules load as late as possible
|
;; Done in a hook to ensure the popup rules load as late as possible
|
||||||
(add-hook! 'doom-init-modules-hook
|
(add-hook! 'doom-init-modules-hook
|
||||||
(defun +evil--init-popup-rules-h ()
|
(defun +evil--init-popup-rules-h ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue