single click in treemacs

This commit is contained in:
Rachel Lambda Samuelsson 2022-11-20 17:20:21 +01:00
parent a690de6df0
commit ca74cc87fa

View File

@ -6,3 +6,6 @@
(if (eq (window-main-window) (selected-window))
(if (equal (buffer-name) "*dashboard*") nil (kill-buffer))
(evil-window-delete)))
(with-eval-after-load 'treemacs
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))