This commit is contained in:
Zelong Kuang
2026-03-24 22:02:04 +11:00
parent 28b3334925
commit a56b36b3f5
4 changed files with 22 additions and 18 deletions

View File

@@ -38,12 +38,13 @@
;; Faster to disable these here (before they've been initialized)
(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)
(push '(horizontal-scroll-bars) default-frame-alist)
(when (featurep 'ns)
(push '(ns-transparent-titlebar . t) default-frame-alist))
;; (push '(ns-appearance . light) default-frame-alist))
;; Prevent flash of unstyled mode line
;; (setq mode-line-format nil)
(setq mode-line-format nil)
(provide 'early-init)

View File

@@ -34,8 +34,6 @@
(add-hook mode (lambda () (display-line-numbers-mode -1))))
(setq display-line-numbers-type 'relative)
)
(column-number-mode 1)
(scroll-bar-mode -1)
;; (use-package delete-trailing
;; :ensure nil

View File

@@ -61,6 +61,10 @@
:config
(pdf-tools-install))
(use-package saveplace-pdf-view
:after pdf-tools
:demand t)
;; (use-package keycast
;; :hook (elpaca-after-init . keycast-mode-line-mode)
;; :config

View File

@@ -3,6 +3,7 @@
(use-package transient)
(use-package magit
:defer t
:bind (("C-c g" . magit-dispatch))
:custom
(magit-diff-refine-hunk t)