blob: 7f7e3030c0e794c220b3948010a9acc399aeafbb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
;; -*- lexical-binding: t; y-*-
(use-package ace-window
:ensure t
:bind
(("C-x o" . ace-window)))
(use-package counsel
:ensure t)
(use-package dashboard
:ensure t
:config
(setq dashboard-startup-banner 'logo
dashboard-banner-logo-title "Welcome to Verdant's Emacverse!!!"
dashboard-center-content t
dashboard-set-heading-icons t
dashboard-items '((recents . 10)
(bookmarks . 5))
dashboard-footer-messages '("verdant.el"))
;; 核心三件套
(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
(dashboard-setup-startup-hook)
(add-hook 'after-init-hook #'dashboard-open t))
(use-package ivy-posframe
:ensure t
:config
(ivy-posframe-mode t))
(use-package ivy-rich
:ensure t
:config
(ivy-rich-mode t))
(use-package diredfl
:ensure t
:hook (dired-mode . diredfl-mode))
(provide 'packages-ui)
|