emacs.d/behaviour.el

12 lines
351 B
EmacsLisp
Raw Normal View History

2022-11-20 16:56:34 +01:00
;; Evil quit
(evil-define-command evil-quit
(&optional force)
:repeat nil
:repeat nil
(if (eq (window-main-window) (selected-window))
(if (equal (buffer-name) "*dashboard*") nil (kill-buffer))
(evil-window-delete)))
2022-11-20 17:20:21 +01:00
(with-eval-after-load 'treemacs
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))