【首页】添加了首页的配置
This commit is contained in:
parent
5fce7fe877
commit
0a53810163
2
init.el
2
init.el
|
@ -11,5 +11,5 @@
|
|||
(require 'init-errors) ; 错误/警告提示引擎配置
|
||||
(require 'init-projectile) ; 项目管理配置
|
||||
(require 'init-magit) ; git客户端
|
||||
|
||||
(require 'init-dashboard) ; 首页配置
|
||||
;;; init.el ends here
|
||||
|
|
18
lisp/init-dashboard.el
Normal file
18
lisp/init-dashboard.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
;;; init-dashboard -- 首页配置 -*- lexical-binding: t no-byte-compile: t -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
;;; 配置开始
|
||||
|
||||
(use-package dashboard
|
||||
:ensure t
|
||||
:config
|
||||
(setq dashboard-banner-logo-title "欢迎您!邵静!") ;; 个性签名,随读者喜好设置
|
||||
(setq dashboard-projects-backend 'projectile) ;; 读者可以暂时注释掉这一行,等安装了 projectile 后再使用
|
||||
(setq dashboard-startup-banner 'official) ;; 也可以自定义图片
|
||||
(setq dashboard-items '((recents . 5) ;; 显示多少个最近文件
|
||||
(bookmarks . 5) ;; 显示多少个最近书签
|
||||
(projects . 10))) ;; 显示多少个最近项目
|
||||
(setq dashboard-set-file-icons t)
|
||||
(dashboard-setup-startup-hook))
|
||||
(provide 'init-dashboard)
|
||||
;;; init-dashboard.el ends here
|
Loading…
Reference in New Issue
Block a user