diff --git a/.gitignore b/.gitignore index 63d97f2..37ce0ff 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ rime flycheck_*.el tabsession.el emacs.desktop +history !alias # generated by elisp packages at root diff --git a/init.el b/init.el index ce64d13..86c4c00 100644 --- a/init.el +++ b/init.el @@ -6,6 +6,10 @@ (require 'init-gc) (require 'init-better-default) (require 'init-ui) +;; (require 'init-dashboard) ;; not working + +(require 'init-god) +;; (require 'init-meow) (require 'init-hydra) @@ -26,7 +30,10 @@ (require 'init-vcs) (require 'init-shell) (require 'init-check) +;; (require 'init-treemacs) ;; not working + (require 'init-eglot) +;; (require 'init-lsp) ;; not working (require 'init-org) (require 'init-tex) diff --git a/lisp/init-dashboard.el b/lisp/init-dashboard.el index 51f013a..4698ca7 100644 --- a/lisp/init-dashboard.el +++ b/lisp/init-dashboard.el @@ -1,42 +1,41 @@ ;; -*- lexical-binding: t; -*- -(elpaca dashboard - (require 'dashboard)) - -(use-package doom-dashboard - :ensure (doom-dashboard :host github - :repo "emacs-dashboard/doom-dashboard") - :after dashboard - :demand t - ;; Movement keys like doom. - :bind - (:map dashboard-mode-map - (" " . widget-backward) - (" " . widget-forward) - (" " . widget-backward) - (" " . widget-forward) - (" " . widget-forward) - (" " . widget-backward)) - :custom - (dashboard-banner-logo-title "E M A C S") - (dashboard-startup-banner - (concat doom-dashboard-banner-directory "bcc.txt")) ; Use banner you want - (dashboard-footer-icon - (nerd-icons-faicon "nf-fa-github_alt" :face 'success :height 1.5)) - (dashboard-page-separator "\n") - (dashboard-startupify-list `(dashboard-insert-banner - dashboard-insert-banner-title - dashboard-insert-newline - dashboard-insert-items - ,(dashboard-insert-newline 2) - dashboard-insert-init-info - ,(dashboard-insert-newline 2) - doom-dashboard-insert-homepage-footer)) - (dashboard-item-generators - '((recents . doom-dashboard-insert-recents-shortmenu) - (bookmarks . doom-dashboard-insert-bookmark-shortmenu) - (projects . doom-dashboard-insert-project-shortmenu) - (agenda . doom-dashboard-insert-org-agenda-shortmenu))) - (dashboard-items '(projects agenda bookmarks recents))) +(use-package dashboard + :init + (use-package doom-dashboard + :ensure (doom-dashboard :host github + :repo "emacs-dashboard/doom-dashboard") + :demand t + ;; Movement keys like doom. + :bind + (:map dashboard-mode-map + (" " . widget-backward) + (" " . widget-forward) + (" " . widget-backward) + (" " . widget-forward) + (" " . widget-forward) + (" " . widget-backward)) + :custom + (dashboard-banner-logo-title "E M A C S") + (dashboard-startup-banner + (concat doom-dashboard-banner-directory "bcc.txt")) ; Use banner you want + (dashboard-footer-icon + (nerd-icons-faicon "nf-fa-github_alt" :face 'success :height 1.5)) + (dashboard-page-separator "\n") + (dashboard-startupify-list `(dashboard-insert-banner + dashboard-insert-banner-title + dashboard-insert-newline + dashboard-insert-items + ,(dashboard-insert-newline 2) + dashboard-insert-init-info + ,(dashboard-insert-newline 2) + doom-dashboard-insert-homepage-footer)) + (dashboard-item-generators + '((recents . doom-dashboard-insert-recents-shortmenu) + (bookmarks . doom-dashboard-insert-bookmark-shortmenu) + (projects . doom-dashboard-insert-project-shortmenu) + (agenda . doom-dashboard-insert-org-agenda-shortmenu))) + (dashboard-items '(projects agenda bookmarks recents))) + ) (provide 'init-dashboard) diff --git a/lisp/init-elpaca.el b/lisp/init-elpaca.el index e56581c..355ff27 100644 --- a/lisp/init-elpaca.el +++ b/lisp/init-elpaca.el @@ -44,6 +44,11 @@ ;; (elpaca example-package) +;; Uncomment for systems which cannot create symlinks: + +(when (eq system-type 'windows-nt) + (elpaca-no-symlink-mode)) + ;; Install use-package support (elpaca elpaca-use-package ;; Enable use-package :ensure support for Elpaca.