Separating the UI setup

This commit is contained in:
Dita Aji Pratama 2024-11-19 13:07:38 +07:00
parent 250e62d0c0
commit f14028123c
2 changed files with 5 additions and 1 deletions

View File

@ -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.

4
lisp/setup-ui.el Normal file
View File

@ -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