This commit is contained in:
Zelong Kuang
2025-12-15 22:42:06 +11:00
parent 2d78112277
commit 41deee1969
2 changed files with 5 additions and 20 deletions

View File

@@ -23,11 +23,14 @@
(recentf-mode 1)
(setq recentf-max-saved-items 500)
(setq make-backup-files nil)
(setq custom-file (expand-file-name "~/.emacs.d/custom.el"))
(load custom-file 'no-error 'no-message)
(setq use-short-answers t)
(setq frame-title-format "Emacs: %b")
(setq custom-file (expand-file-name "~/.emacs.d/custom.el"))
(add-hook 'elpaca-after-init-hook (lambda () (load custom-file 'no-error 'no-message)))
(setq custom-safe-themes t)
(define-key global-map (kbd "C-<wheel-up>") nil)
(define-key global-map (kbd "C-<wheel-down>") nil)
(global-set-key (kbd "s-a") 'mark-whole-buffer) ;;对应Windows上面的Ctrl-a 全选