;; 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))) (with-eval-after-load 'treemacs (define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))