Modularized packages configs

This commit is contained in:
Marcus Kammer 2022-04-30 15:09:36 +02:00
parent 8c4758ad04
commit da22ec3a3b
Signed by: marcuskammer
GPG key ID: C374817BE285268F
8 changed files with 54 additions and 55 deletions

View file

@ -0,0 +1,9 @@
(use-package all-the-icons
:if (display-graphic-p)
:commands all-the-icons-install-fonts
:init
(unless (find-font (font-spec :name "all-the-icons"))
(all-the-icons-install-fonts t)))
(use-package all-the-icons-dired
:if (display-graphic-p)
:hook (dired-mode . all-the-icons-dired-mode))

4
bundle/bundle--doom.el Normal file
View file

@ -0,0 +1,4 @@
(use-package doom-themes
:init (load-theme 'doom-nord t))
(use-package doom-modeline
:init (doom-modeline-mode 1))

View file

@ -7,69 +7,28 @@
;; :config
;; (counsel-mode 1))
(use-package all-the-icons
:if (display-graphic-p)
:commands all-the-icons-install-fonts
:init
(unless (find-font (font-spec :name "all-the-icons"))
(all-the-icons-install-fonts t)))
(use-package all-the-icons-dired
:if (display-graphic-p)
:hook (dired-mode . all-the-icons-dired-mode))
;; (use-package ivy
;; :bind (("C-s" . swiper))
;; :init
;; (ivy-mode 1))
(use-package olivetti
:init (add-hook 'Info-mode-hook (lambda () (olivetti-mode) (setq olivetti-body-width 89)))
:custom (olivetti-body-width 84)
:bind ("<f6>" . olivetti-mode))
(use-package shrface
:init
(global-set-key (kbd "M-o") 'ace-window)
:config
(shrface-basic)
(shrface-trial)
(shrface-default-keybindings)
(setq shrface-href-versatile t
shrface-toggle-bullets t
shr-width nil))
(use-package ace-window)
(use-package doom-modeline
:init (doom-modeline-mode 1))
(use-package doom-themes
:init (load-theme 'doom-nord t))
(use-package rainbow-delimiters
:hook (prog-mode . rainbow-delimiters-mode))
(use-package helpful
:commands (helpful-callable helpful-variable helpful-command helpful-key)
:bind
([remap describe-command] . helpful-command)
([remap describe-key] . helpful-key))
(use-package emojify
:commands emojify-mode)
;; (use-package unicode-fonts
;; :config
;; (unicode-fonts-setup))
(use-package webjump
:bind ("C-c j" . webjump)
:custom
(webjump-sites
(append '(("Wikipedia_de" . [simple-query
"de.wikipedia.org"
"https://de.wikipedia.org/wiki/" ""]))
webjump-sample-sites)))
(load "bundle--all-the-icons")
(load "bundle--olivetti")
(load "bundle--shrface")
(load "bundle--doom")
(load "bundle--helpful")
(load "bundle--webjump")
(use-package ace-window)
(use-package rainbow-delimiters
:hook (prog-mode . rainbow-delimiters-mode))
(use-package emojify
:commands emojify-mode)
(use-package smartparens)

View file

@ -0,0 +1,5 @@
(use-package helpful
:commands (helpful-callable helpful-variable helpful-command helpful-key)
:bind
([remap describe-command] . helpful-command)
([remap describe-key] . helpful-key))

BIN
bundle/bundle--latex.elc Normal file

Binary file not shown.

View file

@ -0,0 +1,4 @@
(use-package olivetti
:init (add-hook 'Info-mode-hook (lambda () (olivetti-mode) (setq olivetti-body-width 89)))
:custom (olivetti-body-width 84)
:bind ("<f6>" . olivetti-mode))

10
bundle/bundle--shrface.el Normal file
View file

@ -0,0 +1,10 @@
(use-package shrface
:init
(global-set-key (kbd "M-o") 'ace-window)
:config
(shrface-basic)
(shrface-trial)
(shrface-default-keybindings)
(setq shrface-href-versatile t
shrface-toggle-bullets t
shr-width nil))

View file

@ -0,0 +1,8 @@
(use-package webjump
:bind ("C-c j" . webjump)
:custom
(webjump-sites
(append '(("Wikipedia_de" . [simple-query
"de.wikipedia.org"
"https://de.wikipedia.org/wiki/" ""]))
webjump-sample-sites)))