(tab-bar-mode 1) (setq tab-bar-show 1) ;; Show the tab bar only when more than one tab exists. (global-display-line-numbers-mode t) (add-hook 'treemacs-mode-hook (lambda () (display-line-numbers-mode 0))) ; Disable line numbers for Treemacs