Update
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
7
init.el
7
init.el
@@ -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)
|
||||||
|
|||||||
@@ -1,42 +1,41 @@
|
|||||||
;; -*- 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")
|
:demand t
|
||||||
:after dashboard
|
;; Movement keys like doom.
|
||||||
:demand t
|
:bind
|
||||||
;; Movement keys like doom.
|
(:map dashboard-mode-map
|
||||||
:bind
|
("<remap> <dashboard-previous-line>" . widget-backward)
|
||||||
(:map dashboard-mode-map
|
("<remap> <dashboard-next-line>" . widget-forward)
|
||||||
("<remap> <dashboard-previous-line>" . widget-backward)
|
("<remap> <previous-line>" . widget-backward)
|
||||||
("<remap> <dashboard-next-line>" . widget-forward)
|
("<remap> <next-line>" . widget-forward)
|
||||||
("<remap> <previous-line>" . widget-backward)
|
("<remap> <right-char>" . widget-forward)
|
||||||
("<remap> <next-line>" . widget-forward)
|
("<remap> <left-char>" . widget-backward))
|
||||||
("<remap> <right-char>" . widget-forward)
|
:custom
|
||||||
("<remap> <left-char>" . widget-backward))
|
(dashboard-banner-logo-title "E M A C S")
|
||||||
:custom
|
(dashboard-startup-banner
|
||||||
(dashboard-banner-logo-title "E M A C S")
|
(concat doom-dashboard-banner-directory "bcc.txt")) ; Use banner you want
|
||||||
(dashboard-startup-banner
|
(dashboard-footer-icon
|
||||||
(concat doom-dashboard-banner-directory "bcc.txt")) ; Use banner you want
|
(nerd-icons-faicon "nf-fa-github_alt" :face 'success :height 1.5))
|
||||||
(dashboard-footer-icon
|
(dashboard-page-separator "\n")
|
||||||
(nerd-icons-faicon "nf-fa-github_alt" :face 'success :height 1.5))
|
(dashboard-startupify-list `(dashboard-insert-banner
|
||||||
(dashboard-page-separator "\n")
|
dashboard-insert-banner-title
|
||||||
(dashboard-startupify-list `(dashboard-insert-banner
|
dashboard-insert-newline
|
||||||
dashboard-insert-banner-title
|
dashboard-insert-items
|
||||||
dashboard-insert-newline
|
,(dashboard-insert-newline 2)
|
||||||
dashboard-insert-items
|
dashboard-insert-init-info
|
||||||
,(dashboard-insert-newline 2)
|
,(dashboard-insert-newline 2)
|
||||||
dashboard-insert-init-info
|
doom-dashboard-insert-homepage-footer))
|
||||||
,(dashboard-insert-newline 2)
|
(dashboard-item-generators
|
||||||
doom-dashboard-insert-homepage-footer))
|
'((recents . doom-dashboard-insert-recents-shortmenu)
|
||||||
(dashboard-item-generators
|
(bookmarks . doom-dashboard-insert-bookmark-shortmenu)
|
||||||
'((recents . doom-dashboard-insert-recents-shortmenu)
|
(projects . doom-dashboard-insert-project-shortmenu)
|
||||||
(bookmarks . doom-dashboard-insert-bookmark-shortmenu)
|
(agenda . doom-dashboard-insert-org-agenda-shortmenu)))
|
||||||
(projects . doom-dashboard-insert-project-shortmenu)
|
(dashboard-items '(projects agenda bookmarks recents)))
|
||||||
(agenda . doom-dashboard-insert-org-agenda-shortmenu)))
|
)
|
||||||
(dashboard-items '(projects agenda bookmarks recents)))
|
|
||||||
|
|
||||||
(provide 'init-dashboard)
|
(provide 'init-dashboard)
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user