Merge branch 'main' of https://git.xenia.me.uk/pixelifytica/emacs
This commit is contained in:
commit
5dfc387e17
52
init.el
52
init.el
|
@ -67,11 +67,59 @@
|
||||||
:if (package-installed-p 'nerd-icons-corfu)
|
:if (package-installed-p 'nerd-icons-corfu)
|
||||||
:after nerd-icons)
|
:after nerd-icons)
|
||||||
|
|
||||||
(setopt mode-line-compact 'long)
|
(use-package doom-modeline
|
||||||
|
:if (package-installed-p 'doom-modeline)
|
||||||
|
:functions (doom-modeline-mode)
|
||||||
|
:custom
|
||||||
|
(doom-modeline-env-version t)
|
||||||
|
(doom-modeline-github nil)
|
||||||
|
(doom-modeline-gnus t)
|
||||||
|
(doom-modeline-mu4e t)
|
||||||
|
(doom-modeline-icon t)
|
||||||
|
(doom-modeline-irc t)
|
||||||
|
(doom-modeline-irc-buffers t)
|
||||||
|
(doom-modeline-lsp t)
|
||||||
|
(doom-modeline-project-detection 'project)
|
||||||
|
:init
|
||||||
(line-number-mode +1)
|
(line-number-mode +1)
|
||||||
(column-number-mode +1)
|
(column-number-mode +1)
|
||||||
(size-indication-mode -1)
|
(size-indication-mode -1)
|
||||||
|
(doom-modeline-mode +1)
|
||||||
|
:config
|
||||||
|
;; (set-face-attribute 'doom-modeline nil :weight 'normal)
|
||||||
|
;; (set-face-attribute 'doom-modeline-buffer-path nil :slant 'normal)
|
||||||
|
)
|
||||||
|
|
||||||
|
(use-package dashboard
|
||||||
|
:if (package-installed-p 'dashboard)
|
||||||
|
:functions (dashboard-setup-startup-hook)
|
||||||
|
:custom
|
||||||
|
(dashboard-banner-logo-title nil)
|
||||||
|
(dashboard-banner-ascii "EMACS")
|
||||||
|
(dashboard-startup-banner (locate-user-emacs-file "banners/ansi_shadow.txt"))
|
||||||
|
(dashboard-center-content t)
|
||||||
|
(dashboard-vertical-center-content t)
|
||||||
|
(dashboard-show-shortcuts t)
|
||||||
|
(dashboard-set-init-info t)
|
||||||
|
(dashboard-icon-type 'nerd-icons)
|
||||||
|
(dashboard-set-file-icons t)
|
||||||
|
(dashboard-set-heading-icons t)
|
||||||
|
(dashboard-projects-backend 'project-el)
|
||||||
|
(dashboard-week-agenda t)
|
||||||
|
(dashboard-agenda-sort-strategy '(todo-state-up time-up))
|
||||||
|
(dashboard-items '((agenda . 5)
|
||||||
|
(recents . 5)
|
||||||
|
(bookmarks . 5)))
|
||||||
|
(dashboard-heading-icons '((recents . "nf-oct-history")
|
||||||
|
(bookmarks . "nf-oct-bookmark")
|
||||||
|
(agenda . "nf-oct-calendar")
|
||||||
|
(projects . "nf-oct-rocket")
|
||||||
|
(registers . "nf-oct-database")))
|
||||||
|
:init
|
||||||
|
(setq initial-buffer-choice #'(lambda ()
|
||||||
|
(get-buffer-create "*dashboard*")))
|
||||||
|
:config
|
||||||
|
(dashboard-setup-startup-hook))
|
||||||
|
|
||||||
(global-visual-line-mode +1)
|
(global-visual-line-mode +1)
|
||||||
(setopt visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))
|
(setopt visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))
|
||||||
|
|
Loading…
Reference in a new issue