Update --gui

load Info-mode using use-package
This commit is contained in:
Marcus Kammer 2022-12-19 12:05:58 +01:00
parent 4d731aeac1
commit 27083d660b
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -4,35 +4,43 @@
:init :init
(unless (find-font (font-spec :name "all-the-icons")) (unless (find-font (font-spec :name "all-the-icons"))
(all-the-icons-install-fonts t))) (all-the-icons-install-fonts t)))
(use-package all-the-icons-dired (use-package all-the-icons-dired
:if (display-graphic-p) :if (display-graphic-p)
:hook (dired-mode . all-the-icons-dired-mode)) :hook (dired-mode . all-the-icons-dired-mode))
(use-package doom-themes (use-package doom-themes
:config :config
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled doom-themes-enable-italic t) ; if nil, italics is universally disabled
(load-theme 'doom-one t)) (load-theme 'doom-one t))
(use-package doom-modeline (use-package doom-modeline
:init (doom-modeline-mode 1) :init (doom-modeline-mode 1)
:custom (doom-modeline-height 33)) :custom (doom-modeline-height 33))
(use-package helpful (use-package helpful
:commands (helpful-callable helpful-variable helpful-command helpful-key) :commands (helpful-callable helpful-variable helpful-command helpful-key)
:bind :bind
([remap describe-command] . helpful-command) ([remap describe-command] . helpful-command)
([remap describe-key] . helpful-key)) ([remap describe-key] . helpful-key))
(use-package rainbow-delimiters
:hook (prog-mode . rainbow-delimiters-mode)) (use-package rainbow-delimiters :hook (prog-mode . rainbow-delimiters-mode))
(use-package olivetti (use-package olivetti
:init (add-hook 'Info-mode-hook (lambda () (olivetti-mode) (setq olivetti-body-width 89))) :custom (olivetti-body-width 89)
:custom (olivetti-body-width 82)
:bind ("<f6>" . olivetti-mode)) :bind ("<f6>" . olivetti-mode))
(use-package ace-window
:init (global-set-key (kbd "M-o") 'ace-window)) (use-package Info-mode
(use-package emojify :ensure nil
:commands emojify-mode) :init (add-hook 'Info-mode-hook 'olivetti-mode))
(use-package vertico
:init (use-package ace-window :init (global-set-key (kbd "M-o") 'ace-window))
(vertico-mode))
(use-package emojify :commands emojify-mode)
(use-package vertico :init (vertico-mode))
(use-package webjump (use-package webjump
:bind ("C-c j" . webjump) :bind ("C-c j" . webjump)
:custom :custom