This commit is contained in:
Zelong Kuang
2025-12-17 03:29:19 +11:00
parent f29e34abc3
commit 286d4d6832
4 changed files with 15 additions and 13 deletions

View File

@@ -33,9 +33,10 @@
(push '(tool-bar-lines . 0) default-frame-alist) (push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist) (push '(vertical-scroll-bars) default-frame-alist)
(when (featurep 'ns) (when (featurep 'ns)
(push '(ns-transparent-titlebar . t) default-frame-alist) (push '(ns-transparent-titlebar . t) default-frame-alist))
(push '(ns-appearance . dark) default-frame-alist)) ;; (push '(ns-appearance . dark) default-frame-alist))
;; Prevent flash of unstyled mode line ;; Prevent flash of unstyled mode line
(setq mode-line-format nil) (setq mode-line-format nil)
(provide 'early-init)

View File

@@ -8,7 +8,6 @@
(require 'init-ui) (require 'init-ui)
(require 'init-bindings) (require 'init-bindings)
(require 'init-dired) (require 'init-dired)
;; (require 'init-dashboard) ;; (require 'init-dashboard)

View File

@@ -13,7 +13,9 @@
((markdown-mode yaml-mode yaml-ts-mode) . eglot-ensure)) ((markdown-mode yaml-mode yaml-ts-mode) . eglot-ensure))
:init (setq eglot-autoshutdown t :init (setq eglot-autoshutdown t
eglot-events-buffer-size 0 eglot-events-buffer-size 0
eglot-send-changes-idle-time 0.5)) eglot-send-changes-idle-time 0.5)
:bind (:map eglot-mode-map
("C-c c a" . eglot-code-actions)))
(use-package eglot-booster (use-package eglot-booster
:ensure (eglot-booster :type git :host nil :repo "https://github.com/jdtsmith/eglot-booster") :ensure (eglot-booster :type git :host nil :repo "https://github.com/jdtsmith/eglot-booster")

View File

@@ -102,7 +102,7 @@
:config :config
;; Increase preview width ;; Increase preview width
(plist-put org-latex-preview-appearance-options (plist-put org-latex-preview-appearance-options
:page-width 1.0) :page-width 0.8)
;; ;; Block C-n, C-p etc from opening up previews when using `org-latex-preview-mode' ;; ;; Block C-n, C-p etc from opening up previews when using `org-latex-preview-mode'
;; (setq org-latex-preview-mode-ignored-commands ;; (setq org-latex-preview-mode-ignored-commands