This commit is contained in:
Zelong Kuang
2026-03-23 12:48:17 +11:00
parent 3687116fe6
commit 28b3334925
4 changed files with 50 additions and 38 deletions

1
.gitignore vendored
View File

@@ -36,6 +36,7 @@ rime
flycheck_*.el flycheck_*.el
tabsession.el tabsession.el
emacs.desktop emacs.desktop
history
!alias !alias
# generated by elisp packages at root # generated by elisp packages at root

View File

@@ -6,6 +6,10 @@
(require 'init-gc) (require 'init-gc)
(require 'init-better-default) (require 'init-better-default)
(require 'init-ui) (require 'init-ui)
;; (require 'init-dashboard) ;; not working
(require 'init-god)
;; (require 'init-meow)
(require 'init-hydra) (require 'init-hydra)
@@ -26,7 +30,10 @@
(require 'init-vcs) (require 'init-vcs)
(require 'init-shell) (require 'init-shell)
(require 'init-check) (require 'init-check)
;; (require 'init-treemacs) ;; not working
(require 'init-eglot) (require 'init-eglot)
;; (require 'init-lsp) ;; not working
(require 'init-org) (require 'init-org)
(require 'init-tex) (require 'init-tex)

View File

@@ -1,12 +1,10 @@
;; -*- lexical-binding: t; -*- ;; -*- lexical-binding: t; -*-
(elpaca dashboard (use-package dashboard
(require 'dashboard)) :init
(use-package doom-dashboard (use-package doom-dashboard
:ensure (doom-dashboard :host github :ensure (doom-dashboard :host github
:repo "emacs-dashboard/doom-dashboard") :repo "emacs-dashboard/doom-dashboard")
:after dashboard
:demand t :demand t
;; Movement keys like doom. ;; Movement keys like doom.
:bind :bind
@@ -38,5 +36,6 @@
(projects . doom-dashboard-insert-project-shortmenu) (projects . doom-dashboard-insert-project-shortmenu)
(agenda . doom-dashboard-insert-org-agenda-shortmenu))) (agenda . doom-dashboard-insert-org-agenda-shortmenu)))
(dashboard-items '(projects agenda bookmarks recents))) (dashboard-items '(projects agenda bookmarks recents)))
)
(provide 'init-dashboard) (provide 'init-dashboard)

View File

@@ -44,6 +44,11 @@
;; (elpaca example-package) ;; (elpaca example-package)
;; Uncomment for systems which cannot create symlinks:
(when (eq system-type 'windows-nt)
(elpaca-no-symlink-mode))
;; Install use-package support ;; Install use-package support
(elpaca elpaca-use-package (elpaca elpaca-use-package
;; Enable use-package :ensure support for Elpaca. ;; Enable use-package :ensure support for Elpaca.