diff --git a/init.el b/init.el index cd28e5c..32fced7 100644 --- a/init.el +++ b/init.el @@ -1,6 +1,6 @@ (add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory)) (load-file (expand-file-name "setup-packages.el" (concat user-emacs-directory "lisp"))) - +(load-file (expand-file-name "setup-ui.el" (concat user-emacs-directory "lisp"))) (custom-set-variables ;; custom-set-variables was added by Custom. diff --git a/lisp/setup-ui.el b/lisp/setup-ui.el new file mode 100644 index 0000000..d5736ee --- /dev/null +++ b/lisp/setup-ui.el @@ -0,0 +1,4 @@ +(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