Modularized packages configs
This commit is contained in:
parent
8c4758ad04
commit
da22ec3a3b
8 changed files with 54 additions and 55 deletions
9
bundle/bundle--all-the-icons.el
Normal file
9
bundle/bundle--all-the-icons.el
Normal 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
4
bundle/bundle--doom.el
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(use-package doom-themes
|
||||||
|
:init (load-theme 'doom-nord t))
|
||||||
|
(use-package doom-modeline
|
||||||
|
:init (doom-modeline-mode 1))
|
|
@ -7,69 +7,28 @@
|
||||||
;; :config
|
;; :config
|
||||||
;; (counsel-mode 1))
|
;; (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
|
;; (use-package ivy
|
||||||
;; :bind (("C-s" . swiper))
|
;; :bind (("C-s" . swiper))
|
||||||
;; :init
|
;; :init
|
||||||
;; (ivy-mode 1))
|
;; (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
|
;; (use-package unicode-fonts
|
||||||
;; :config
|
;; :config
|
||||||
;; (unicode-fonts-setup))
|
;; (unicode-fonts-setup))
|
||||||
|
|
||||||
(use-package webjump
|
(load "bundle--all-the-icons")
|
||||||
:bind ("C-c j" . webjump)
|
(load "bundle--olivetti")
|
||||||
:custom
|
(load "bundle--shrface")
|
||||||
(webjump-sites
|
(load "bundle--doom")
|
||||||
(append '(("Wikipedia_de" . [simple-query
|
(load "bundle--helpful")
|
||||||
"de.wikipedia.org"
|
(load "bundle--webjump")
|
||||||
"https://de.wikipedia.org/wiki/" ""]))
|
|
||||||
webjump-sample-sites)))
|
(use-package ace-window)
|
||||||
|
|
||||||
|
(use-package rainbow-delimiters
|
||||||
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
|
||||||
|
(use-package emojify
|
||||||
|
:commands emojify-mode)
|
||||||
|
|
||||||
(use-package smartparens)
|
(use-package smartparens)
|
||||||
|
|
5
bundle/bundle--helpful.el
Normal file
5
bundle/bundle--helpful.el
Normal 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
BIN
bundle/bundle--latex.elc
Normal file
Binary file not shown.
4
bundle/bundle--olivetti.el
Normal file
4
bundle/bundle--olivetti.el
Normal 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
10
bundle/bundle--shrface.el
Normal 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))
|
8
bundle/bundle--webjump.el
Normal file
8
bundle/bundle--webjump.el
Normal 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)))
|
Loading…
Add table
Reference in a new issue