Clean out uses of use-package :ensure and :diminish
Stop using :ensure and manage installed package properly so that extra packages can be easily tested and removed. Majority use case is on NixOS anywhere where Emacs is only configuring - not installing - the packages Also stop using :diminish because I don't need it with doom-modeline anyway...
This commit is contained in:
parent
5b32e577e1
commit
8150864856
|
@ -6,8 +6,6 @@
|
||||||
* Vertico
|
* Vertico
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package vertico
|
(use-package vertico
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(vertico-cycle t)
|
(vertico-cycle t)
|
||||||
:init
|
:init
|
||||||
|
@ -19,8 +17,6 @@
|
||||||
* Marginalia
|
* Marginalia
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package marginalia
|
(use-package marginalia
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(marginalia-annotators '(marginalia-annotators-heavy
|
(marginalia-annotators '(marginalia-annotators-heavy
|
||||||
marginalia-annotators-light
|
marginalia-annotators-light
|
||||||
|
@ -31,8 +27,6 @@
|
||||||
* Orderless
|
* Orderless
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package orderless
|
(use-package orderless
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(completion-styles '(orderless basic))
|
(completion-styles '(orderless basic))
|
||||||
(completion-category-defaults nil)
|
(completion-category-defaults nil)
|
||||||
|
@ -44,8 +38,6 @@
|
||||||
* Corfu and Cape
|
* Corfu and Cape
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package corfu
|
(use-package corfu
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:demand
|
:demand
|
||||||
:custom
|
:custom
|
||||||
(corfu-cycle t)
|
(corfu-cycle t)
|
||||||
|
@ -88,9 +80,7 @@
|
||||||
(with-eval-after-load 'gud (add-hook 'gud-mode-hook 'my/local-corfu-no-auto)))
|
(with-eval-after-load 'gud (add-hook 'gud-mode-hook 'my/local-corfu-no-auto)))
|
||||||
|
|
||||||
(use-package corfu-terminal
|
(use-package corfu-terminal
|
||||||
:ensure t
|
|
||||||
:after corfu
|
:after corfu
|
||||||
:diminish
|
|
||||||
:demand
|
:demand
|
||||||
:config
|
:config
|
||||||
(corfu-terminal-mode +1))
|
(corfu-terminal-mode +1))
|
||||||
|
@ -98,8 +88,6 @@
|
||||||
(require 'corfu)
|
(require 'corfu)
|
||||||
|
|
||||||
(use-package cape
|
(use-package cape
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:demand
|
:demand
|
||||||
:init
|
:init
|
||||||
(add-to-list 'completion-at-point-functions #'cape-emoji)
|
(add-to-list 'completion-at-point-functions #'cape-emoji)
|
||||||
|
@ -114,8 +102,6 @@
|
||||||
* Consult
|
* Consult
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package consult
|
(use-package consult
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:bind (("<remap> <imenu>" . consult-imenu)
|
:bind (("<remap> <imenu>" . consult-imenu)
|
||||||
("<remap> <switch-to-buffer>" . consult-buffer)
|
("<remap> <switch-to-buffer>" . consult-buffer)
|
||||||
("<remap> <project-switch-to-buffer>" . consult-project-buffer)
|
("<remap> <project-switch-to-buffer>" . consult-project-buffer)
|
||||||
|
@ -131,8 +117,6 @@
|
||||||
:config (setq completion-in-region-function #'consult-completion-in-region))
|
:config (setq completion-in-region-function #'consult-completion-in-region))
|
||||||
|
|
||||||
(use-package consult-eglot
|
(use-package consult-eglot
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:after (consult eglot)
|
:after (consult eglot)
|
||||||
:bind (("C-c s s" . consult-eglot-symbols)))
|
:bind (("C-c s s" . consult-eglot-symbols)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -140,15 +124,11 @@
|
||||||
* Embark
|
* Embark
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package embark
|
(use-package embark
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:bind (("<remap> <describe-bindings>" . embark-bindings)
|
:bind (("<remap> <describe-bindings>" . embark-bindings)
|
||||||
("C-." . embark-act))
|
("C-." . embark-act))
|
||||||
:config (setq prefix-help-command #'embark-prefix-help-command))
|
:config (setq prefix-help-command #'embark-prefix-help-command))
|
||||||
|
|
||||||
(use-package embark-consult
|
(use-package embark-consult
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:after (embark consult)
|
:after (embark consult)
|
||||||
:hook (embark-collect-mode . consult-preview-at-point-mode))
|
:hook (embark-collect-mode . consult-preview-at-point-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -157,8 +137,6 @@
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Configure Tempel
|
;; Configure Tempel
|
||||||
(use-package tempel
|
(use-package tempel
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
;; Require trigger prefix before template name when completing.
|
;; Require trigger prefix before template name when completing.
|
||||||
;; :custom
|
;; :custom
|
||||||
;; (tempel-trigger-prefix "<")
|
;; (tempel-trigger-prefix "<")
|
||||||
|
|
|
@ -80,11 +80,6 @@
|
||||||
(recentf-max-saved-items 2048))
|
(recentf-max-saved-items 2048))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* diminish modes
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package diminish :ensure t)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Authentication
|
* Authentication
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(when (require 'auth-source nil :noerror)
|
(when (require 'auth-source nil :noerror)
|
||||||
|
@ -97,7 +92,6 @@
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Make `describe-*' screens more helpful
|
;; Make `describe-*' screens more helpful
|
||||||
(use-package helpful
|
(use-package helpful
|
||||||
:ensure t
|
|
||||||
:bind (("<remap> <describe-command>" . helpful-command)
|
:bind (("<remap> <describe-command>" . helpful-command)
|
||||||
("<remap> <describe-function>" . helpful-callable)
|
("<remap> <describe-function>" . helpful-callable)
|
||||||
("<remap> <describe-key>" . helpful-key)
|
("<remap> <describe-key>" . helpful-key)
|
||||||
|
@ -115,14 +109,10 @@
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; turn on spell checking, if available.
|
;; turn on spell checking, if available.
|
||||||
(use-package ispell
|
(use-package ispell
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(ispell-dictionary "en_GB"))
|
(ispell-dictionary "en_GB"))
|
||||||
|
|
||||||
(use-package flyspell
|
(use-package flyspell
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:hook ((text-mode . flyspell-mode)
|
:hook ((text-mode . flyspell-mode)
|
||||||
(prog-mode . flyspell-prog-mode))
|
(prog-mode . flyspell-prog-mode))
|
||||||
:init
|
:init
|
||||||
|
@ -135,15 +125,11 @@
|
||||||
(require 'consult-flyspell))
|
(require 'consult-flyspell))
|
||||||
|
|
||||||
(use-package flyspell-correct
|
(use-package flyspell-correct
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:after flyspell
|
:after flyspell
|
||||||
:bind ( :map flyspell-mode-map
|
:bind ( :map flyspell-mode-map
|
||||||
("C-;" . flyspell-correct-wrapper)))
|
("C-;" . flyspell-correct-wrapper)))
|
||||||
|
|
||||||
(use-package consult-flyspell
|
(use-package consult-flyspell
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:after (consult flyspell)
|
:after (consult flyspell)
|
||||||
:bind ( :map flyspell-mode-map
|
:bind ( :map flyspell-mode-map
|
||||||
("C-c s ;" . consult-flyspell))
|
("C-c s ;" . consult-flyspell))
|
||||||
|
@ -154,11 +140,9 @@
|
||||||
* ibuffer
|
* ibuffer
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package ibuffer
|
(use-package ibuffer
|
||||||
:ensure t
|
|
||||||
:bind (("C-c b" . ibuffer)))
|
:bind (("C-c b" . ibuffer)))
|
||||||
|
|
||||||
(use-package ibuffer-project
|
(use-package ibuffer-project
|
||||||
:ensure t
|
|
||||||
:after ibuffer
|
:after ibuffer
|
||||||
:hook ((ibuffer . (lambda ()
|
:hook ((ibuffer . (lambda ()
|
||||||
(setq ibuffer-filter-groups (ibuffer-project-generate-filter-groups))
|
(setq ibuffer-filter-groups (ibuffer-project-generate-filter-groups))
|
||||||
|
@ -169,7 +153,6 @@
|
||||||
* Link hint keymaps
|
* Link hint keymaps
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package link-hint
|
(use-package link-hint
|
||||||
:ensure t
|
|
||||||
:bind (("C-c l o" . link-hint-open-link)
|
:bind (("C-c l o" . link-hint-open-link)
|
||||||
("C-c l c" . link-hint-copy-link)
|
("C-c l c" . link-hint-copy-link)
|
||||||
("C-c l C-o" . link-hint-open-all-link)
|
("C-c l C-o" . link-hint-open-all-link)
|
||||||
|
@ -179,8 +162,6 @@
|
||||||
* Avy keymaps
|
* Avy keymaps
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package avy
|
(use-package avy
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:bind (("C-c j j" . avy-goto-char-2)
|
:bind (("C-c j j" . avy-goto-char-2)
|
||||||
("C-c j w" . avy-goto-word-0)
|
("C-c j w" . avy-goto-word-0)
|
||||||
("C-c j c" . avy-goto-char)
|
("C-c j c" . avy-goto-char)
|
||||||
|
@ -190,7 +171,6 @@
|
||||||
* which-func config
|
* which-func config
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package which-func
|
(use-package which-func
|
||||||
:ensure t
|
|
||||||
:init (which-function-mode))
|
:init (which-function-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -207,7 +187,6 @@
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package eww
|
(use-package eww
|
||||||
:defer t
|
:defer t
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(browse-url-browser-function 'browse-url-default-browser)
|
(browse-url-browser-function 'browse-url-default-browser)
|
||||||
(browse-url-new-window-flag t)
|
(browse-url-new-window-flag t)
|
||||||
|
|
|
@ -19,7 +19,6 @@ Manage elfeed subscriptions in an org-mode file instead of elisp.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package elfeed-org
|
(use-package elfeed-org
|
||||||
:ensure t
|
|
||||||
:after (elfeed org)
|
:after (elfeed org)
|
||||||
:custom
|
:custom
|
||||||
(rmh-elfeed-org-files
|
(rmh-elfeed-org-files
|
||||||
|
@ -34,7 +33,6 @@ Use elfeed for YouTube subscriptions, including getting video transcripts.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package elfeed-tube
|
(use-package elfeed-tube
|
||||||
:ensure t
|
|
||||||
:after elfeed
|
:after elfeed
|
||||||
:bind ( :map elfeed-show-mode-map
|
:bind ( :map elfeed-show-mode-map
|
||||||
("F" . elfeed-tube-fetch)
|
("F" . elfeed-tube-fetch)
|
||||||
|
@ -50,7 +48,6 @@ Use elfeed for YouTube subscriptions, including getting video transcripts.
|
||||||
(require 'elfeed-tube-mpv))
|
(require 'elfeed-tube-mpv))
|
||||||
|
|
||||||
(use-package elfeed-tube-mpv
|
(use-package elfeed-tube-mpv
|
||||||
:ensure t
|
|
||||||
:after elfeed-tube
|
:after elfeed-tube
|
||||||
:init (require 'mpv)
|
:init (require 'mpv)
|
||||||
:bind ( :map elfeed-show-mode-map
|
:bind ( :map elfeed-show-mode-map
|
||||||
|
|
|
@ -6,13 +6,9 @@
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:hook (prog-mode))
|
:hook (prog-mode))
|
||||||
|
|
||||||
(use-package direnv
|
(use-package direnv
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom (direnv-always-show-summary nil)
|
:custom (direnv-always-show-summary nil)
|
||||||
:config (direnv-mode +1))
|
:config (direnv-mode +1))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -27,12 +23,10 @@
|
||||||
Set treesit to fontify all elements, default was 3 (out of 4)
|
Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package treesit
|
(use-package treesit
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(treesit-font-lock-level 4))
|
(treesit-font-lock-level 4))
|
||||||
|
|
||||||
(use-package treesit-auto
|
(use-package treesit-auto
|
||||||
:diminish
|
|
||||||
:after (treesit)
|
:after (treesit)
|
||||||
:config
|
:config
|
||||||
(treesit-auto-add-to-auto-mode-alist)
|
(treesit-auto-add-to-auto-mode-alist)
|
||||||
|
@ -45,8 +39,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
* Eldoc
|
* Eldoc
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package eldoc
|
(use-package eldoc
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(eldoc-echo-area-display-truncation-message nil)
|
(eldoc-echo-area-display-truncation-message nil)
|
||||||
(eldoc-echo-area-prefer-doc-buffer t)
|
(eldoc-echo-area-prefer-doc-buffer t)
|
||||||
|
@ -56,8 +48,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
* Eglot LSP
|
* Eglot LSP
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package eglot
|
(use-package eglot
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:demand
|
:demand
|
||||||
:bind (("C-c c e" . eglot)
|
:bind (("C-c c e" . eglot)
|
||||||
("C-c c C-e" . eglot-reconnect)
|
("C-c c C-e" . eglot-reconnect)
|
||||||
|
@ -107,8 +97,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
* Apheleia formatting
|
* Apheleia formatting
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package apheleia
|
(use-package apheleia
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:bind (("C-c c f" . apheleia-format-buffer))
|
:bind (("C-c c f" . apheleia-format-buffer))
|
||||||
:hook (prog-mode)
|
:hook (prog-mode)
|
||||||
:custom (apheleia-remote-algorithm 'local)
|
:custom (apheleia-remote-algorithm 'local)
|
||||||
|
@ -121,7 +109,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
* Flymake
|
* Flymake
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package flymake
|
(use-package flymake
|
||||||
:ensure t
|
|
||||||
:bind (("C-c C-." . flymake-goto-next-error)
|
:bind (("C-c C-." . flymake-goto-next-error)
|
||||||
("C-c C-," . flymake-goto-prev-error))
|
("C-c C-," . flymake-goto-prev-error))
|
||||||
:hook (prog-mode . flymake-mode)
|
:hook (prog-mode . flymake-mode)
|
||||||
|
@ -131,9 +118,7 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
** Diagnostics in popup
|
** Diagnostics in popup
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package flymake-popon
|
(use-package flymake-popon
|
||||||
:ensure t
|
|
||||||
:after flymake
|
:after flymake
|
||||||
:diminish
|
|
||||||
:config
|
:config
|
||||||
(global-flymake-popon-mode +1))
|
(global-flymake-popon-mode +1))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -141,8 +126,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
** flymake-collection
|
** flymake-collection
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package flymake-collection
|
(use-package flymake-collection
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:defer
|
:defer
|
||||||
:after flymake
|
:after flymake
|
||||||
:custom
|
:custom
|
||||||
|
@ -158,36 +141,28 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
** shellcheck
|
** shellcheck
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package flymake-shellcheck
|
(use-package flymake-shellcheck
|
||||||
:ensure t
|
|
||||||
:after flymake
|
:after flymake
|
||||||
:diminish
|
|
||||||
:hook (sh-mode . flymake-shellcheck-load))
|
:hook (sh-mode . flymake-shellcheck-load))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** clippy
|
** clippy
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package flymake-clippy
|
(use-package flymake-clippy
|
||||||
:ensure t
|
|
||||||
:after flymake
|
:after flymake
|
||||||
:diminish
|
|
||||||
:hook ((rust-mode rust-ts-mode) . flymake-clippy-setup-backend))
|
:hook ((rust-mode rust-ts-mode) . flymake-clippy-setup-backend))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** eslint
|
** eslint
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package flymake-eslint
|
(use-package flymake-eslint
|
||||||
:ensure t
|
|
||||||
:after flymake
|
:after flymake
|
||||||
:diminish
|
|
||||||
:hook (js-ts-mode . flymake-eslint-enable))
|
:hook (js-ts-mode . flymake-eslint-enable))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** ruff
|
** ruff
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package flymake-ruff
|
(use-package flymake-ruff
|
||||||
:ensure t
|
|
||||||
:after flymake
|
:after flymake
|
||||||
:diminish
|
|
||||||
:hook (python-base-mode . flymake-ruff-load))
|
:hook (python-base-mode . flymake-ruff-load))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -204,8 +179,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
** Magit
|
** Magit
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:bind (("C-c g g" . magit-status)
|
:bind (("C-c g g" . magit-status)
|
||||||
("C-c g d" . magit-dispatch)
|
("C-c g d" . magit-dispatch)
|
||||||
("C-c g f" . magit-file-dispatch)
|
("C-c g f" . magit-file-dispatch)
|
||||||
|
@ -233,8 +206,6 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
* Aggressive Indent
|
* Aggressive Indent
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package aggressive-indent
|
(use-package aggressive-indent
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:hook (elisp-mode
|
:hook (elisp-mode
|
||||||
lisp-mode
|
lisp-mode
|
||||||
lisp-data-mode
|
lisp-data-mode
|
||||||
|
@ -256,13 +227,14 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
** Nushell
|
** Nushell
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package nushell-ts-mode
|
(use-package nushell-ts-mode
|
||||||
|
:defer t
|
||||||
:mode "\\.nu\\'")
|
:mode "\\.nu\\'")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Lua
|
** Lua
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package lua-mode
|
(use-package lua-mode
|
||||||
:ensure t)
|
:defer t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Python
|
** Python
|
||||||
|
|
|
@ -37,9 +37,3 @@
|
||||||
(emms-cache-enable)
|
(emms-cache-enable)
|
||||||
(add-hook 'emms-player-started-hook #'emms-show))
|
(add-hook 'emms-player-started-hook #'emms-show))
|
||||||
#+end_src
|
#+end_src
|
||||||
* MPV
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package mpv
|
|
||||||
:ensure t
|
|
||||||
:diminish)
|
|
||||||
#+end_src
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package newsticker
|
(use-package newsticker
|
||||||
:ensure t
|
|
||||||
:custom
|
:custom
|
||||||
(newsticker-url-list-defaults '(("Emacs Wiki" "https://www.emacswiki.org/emacs?action=rss" nil 3600)
|
(newsticker-url-list-defaults '(("Emacs Wiki" "https://www.emacswiki.org/emacs?action=rss" nil 3600)
|
||||||
("LWN (Linux Weekly News)" "https://lwn.net/headlines/rss")
|
("LWN (Linux Weekly News)" "https://lwn.net/headlines/rss")
|
||||||
|
|
|
@ -31,7 +31,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
(org-agenda-files . (:maxlevel . 2))))
|
(org-agenda-files . (:maxlevel . 2))))
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure t
|
|
||||||
:custom
|
:custom
|
||||||
(org-yank-folded-subtrees nil)
|
(org-yank-folded-subtrees nil)
|
||||||
(org-yank-adjusted-subtrees t)
|
(org-yank-adjusted-subtrees t)
|
||||||
|
@ -93,9 +92,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
* org-roam
|
* org-roam
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:ensure t
|
|
||||||
:after org
|
:after org
|
||||||
:diminish
|
|
||||||
:bind (("C-c o r i" . org-roam-node-insert)
|
:bind (("C-c o r i" . org-roam-node-insert)
|
||||||
("C-c o r f" . org-roam-node-find)
|
("C-c o r f" . org-roam-node-find)
|
||||||
("C-c o r n" . org-roam-capture))
|
("C-c o r n" . org-roam-capture))
|
||||||
|
@ -134,7 +131,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
#+end_src
|
#+end_src
|
||||||
* org-agenda
|
* org-agenda
|
||||||
#+begin_src emacs-lisp :results output silent
|
#+begin_src emacs-lisp :results output silent
|
||||||
(setq org-agenda-span 'day
|
(setq org-agenda-span 'week
|
||||||
org-agenda-start-on-weekday 1
|
org-agenda-start-on-weekday 1
|
||||||
org-agenda-sticky nil
|
org-agenda-sticky nil
|
||||||
org-agenda-window-setup 'current-window
|
org-agenda-window-setup 'current-window
|
||||||
|
@ -155,6 +152,16 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
(expand-file-name "journal" org-directory)
|
(expand-file-name "journal" org-directory)
|
||||||
(expand-file-name "projects" org-directory)))
|
(expand-file-name "projects" org-directory)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** iCalendar integration
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setopt org-icalendar-store-UID t
|
||||||
|
org-icalendar-alarm-time 15
|
||||||
|
org-icalendar-include-body t
|
||||||
|
org-icalendar-include-sexps t
|
||||||
|
org-icalendar-include-todo t
|
||||||
|
org-icalendar-combined-name "org-mode"
|
||||||
|
org-icalendar-combined-description "Emacs org-mode combined export")
|
||||||
|
#+end_src
|
||||||
* org-journal
|
* org-journal
|
||||||
#+begin_src emacs-lisp :results output silent
|
#+begin_src emacs-lisp :results output silent
|
||||||
(use-package org-journal
|
(use-package org-journal
|
||||||
|
@ -168,8 +175,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
* org-noter
|
* org-noter
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-noter
|
(use-package org-noter
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:after (org doc-view)
|
:after (org doc-view)
|
||||||
:commands (org-noter)
|
:commands (org-noter)
|
||||||
:custom
|
:custom
|
||||||
|
@ -186,8 +191,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
* citar
|
* citar
|
||||||
#+begin_src emacs-lisp :results output silent
|
#+begin_src emacs-lisp :results output silent
|
||||||
(use-package citar
|
(use-package citar
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(org-cite-global-bibliography '("~/Documents/References/main.bib"))
|
(org-cite-global-bibliography '("~/Documents/References/main.bib"))
|
||||||
(org-cite-insert-processor 'citar)
|
(org-cite-insert-processor 'citar)
|
||||||
|
@ -247,8 +250,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
** Citar Embark integration
|
** Citar Embark integration
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package citar-embark
|
(use-package citar-embark
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:after (citar embark)
|
:after (citar embark)
|
||||||
:init
|
:init
|
||||||
(citar-embark-mode +1))
|
(citar-embark-mode +1))
|
||||||
|
|
|
@ -6,19 +6,13 @@
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package password-store
|
(use-package password-store
|
||||||
:ensure t
|
:defer t)
|
||||||
:defer t
|
|
||||||
:diminish)
|
|
||||||
|
|
||||||
(use-package password-store-otp
|
(use-package password-store-otp
|
||||||
:ensure t
|
:defer t)
|
||||||
:defer t
|
|
||||||
:diminish)
|
|
||||||
|
|
||||||
(use-package pass
|
(use-package pass
|
||||||
:ensure t
|
|
||||||
:defer t
|
:defer t
|
||||||
:diminish
|
|
||||||
:bind (("C-c P" . pass))
|
:bind (("C-c P" . pass))
|
||||||
:custom
|
:custom
|
||||||
(pass-show-keybindings nil)
|
(pass-show-keybindings nil)
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package tramp
|
(use-package tramp
|
||||||
:defer t
|
:defer t
|
||||||
:diminish
|
|
||||||
:config
|
:config
|
||||||
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
|
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
|
@ -17,13 +17,9 @@
|
||||||
(add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1)))
|
(add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1)))
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:config (which-key-mode +1))
|
:config (which-key-mode +1))
|
||||||
|
|
||||||
(use-package page-break-lines
|
(use-package page-break-lines
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:config (global-page-break-lines-mode +1))
|
:config (global-page-break-lines-mode +1))
|
||||||
|
|
||||||
(electric-pair-mode +1)
|
(electric-pair-mode +1)
|
||||||
|
@ -45,7 +41,6 @@
|
||||||
** catppuccin-theme
|
** catppuccin-theme
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package catppuccin-theme
|
(use-package catppuccin-theme
|
||||||
:ensure t
|
|
||||||
:demand
|
:demand
|
||||||
:custom
|
:custom
|
||||||
(catppuccin-flavour 'mocha)
|
(catppuccin-flavour 'mocha)
|
||||||
|
@ -81,32 +76,22 @@ Removed in favour of [[https://github.com/catppuccin/emacs][Catppuccin (emacs)]]
|
||||||
** nerd-icons
|
** nerd-icons
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package nerd-icons
|
(use-package nerd-icons
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:config (nerd-icons-set-font "Symbols Nerd Font Mono-12"))
|
:config (nerd-icons-set-font "Symbols Nerd Font Mono-12"))
|
||||||
|
|
||||||
(use-package nerd-icons-dired
|
(use-package nerd-icons-dired
|
||||||
:ensure t
|
|
||||||
:after nerd-icons
|
:after nerd-icons
|
||||||
:diminish
|
|
||||||
:hook (dired-mode))
|
:hook (dired-mode))
|
||||||
|
|
||||||
(use-package nerd-icons-ibuffer
|
(use-package nerd-icons-ibuffer
|
||||||
:ensure t
|
|
||||||
:after nerd-icons
|
:after nerd-icons
|
||||||
:diminish
|
|
||||||
:hook (ibuffer-mode))
|
:hook (ibuffer-mode))
|
||||||
|
|
||||||
(use-package nerd-icons-completion
|
(use-package nerd-icons-completion
|
||||||
:ensure t
|
|
||||||
:after nerd-icons
|
:after nerd-icons
|
||||||
:diminish
|
|
||||||
:config (nerd-icons-completion-mode +1))
|
:config (nerd-icons-completion-mode +1))
|
||||||
|
|
||||||
(use-package nerd-icons-corfu
|
(use-package nerd-icons-corfu
|
||||||
:ensure t
|
|
||||||
:after (corfu nerd-icons)
|
:after (corfu nerd-icons)
|
||||||
:diminish
|
|
||||||
:config (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))
|
:config (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))
|
||||||
|
|
||||||
(keymap-global-set "C-c i n" #'nerd-icons-insert)
|
(keymap-global-set "C-c i n" #'nerd-icons-insert)
|
||||||
|
@ -114,8 +99,6 @@ Removed in favour of [[https://github.com/catppuccin/emacs][Catppuccin (emacs)]]
|
||||||
** Font ligatures
|
** Font ligatures
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package ligature
|
(use-package ligature
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:config
|
:config
|
||||||
(ligature-set-ligatures
|
(ligature-set-ligatures
|
||||||
'(text-mode prog-mode org-mode)
|
'(text-mode prog-mode org-mode)
|
||||||
|
@ -145,8 +128,6 @@ Removed in favour of [[https://github.com/catppuccin/emacs][Catppuccin (emacs)]]
|
||||||
* Notifications
|
* Notifications
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package alert
|
(use-package alert
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(alert-default-style 'libnotify))
|
(alert-default-style 'libnotify))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -163,7 +144,6 @@ Removed in favour of [[https://github.com/catppuccin/emacs][Catppuccin (emacs)]]
|
||||||
** doom-modeline
|
** doom-modeline
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
:ensure t
|
|
||||||
:demand
|
:demand
|
||||||
:custom
|
:custom
|
||||||
(doom-modeline-checker-simple-format nil)
|
(doom-modeline-checker-simple-format nil)
|
||||||
|
@ -194,15 +174,11 @@ Removed in favour of [[https://github.com/catppuccin/emacs][Catppuccin (emacs)]]
|
||||||
* Zone
|
* Zone
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package zone
|
(use-package zone
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:config (zone-when-idle (* 60 60))) ; 1 hour
|
:config (zone-when-idle (* 60 60))) ; 1 hour
|
||||||
#+end_src
|
#+end_src
|
||||||
* Git status in fringe
|
* Git status in fringe
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package diff-hl
|
(use-package diff-hl
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:init
|
:init
|
||||||
(add-hook 'magit-pre-refresh-hook #'diff-hl-magit-pre-refresh)
|
(add-hook 'magit-pre-refresh-hook #'diff-hl-magit-pre-refresh)
|
||||||
(add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh)
|
(add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh)
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
* windmove
|
* windmove
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package windmove
|
(use-package windmove
|
||||||
:ensure t
|
|
||||||
:demand
|
:demand
|
||||||
:diminish
|
|
||||||
:config (windmove-mode +1)
|
:config (windmove-mode +1)
|
||||||
:bind (("C-c w k" . windmove-up)
|
:bind (("C-c w k" . windmove-up)
|
||||||
("C-c w C-k" . windmove-display-up)
|
("C-c w C-k" . windmove-display-up)
|
||||||
|
@ -32,9 +30,7 @@
|
||||||
* winner
|
* winner
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package winner
|
(use-package winner
|
||||||
:ensure t
|
|
||||||
:demand
|
:demand
|
||||||
:diminish
|
|
||||||
:bind (("C-c w u" . winner-undo)
|
:bind (("C-c w u" . winner-undo)
|
||||||
("C-c w r" . winner-redo))
|
("C-c w r" . winner-redo))
|
||||||
:config
|
:config
|
||||||
|
@ -43,8 +39,6 @@
|
||||||
* ediff
|
* ediff
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package ediff
|
(use-package ediff
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:bind (("C-c d f" . ediff-files)
|
:bind (("C-c d f" . ediff-files)
|
||||||
("C-c d b" . ediff-buffers)
|
("C-c d b" . ediff-buffers)
|
||||||
("C-c d 3 f" . ediff-files3)
|
("C-c d 3 f" . ediff-files3)
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package doc-view
|
(use-package doc-view
|
||||||
:defer t
|
:defer t
|
||||||
:ensure t
|
|
||||||
:bind ( :map doc-view-mode-map
|
:bind ( :map doc-view-mode-map
|
||||||
("<mouse-8>" . doc-view-previous-page)
|
("<mouse-8>" . doc-view-previous-page)
|
||||||
("<mouse-9>" . doc-view-next-page))
|
("<mouse-9>" . doc-view-next-page))
|
||||||
|
@ -21,8 +20,6 @@
|
||||||
* Markdown
|
* Markdown
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:custom
|
:custom
|
||||||
(markdown-enable-math t)
|
(markdown-enable-math t)
|
||||||
(markdown-enable-html t)
|
(markdown-enable-html t)
|
||||||
|
@ -36,8 +33,6 @@
|
||||||
* Pandoc
|
* Pandoc
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package pandoc-mode
|
(use-package pandoc-mode
|
||||||
:ensure t
|
|
||||||
:diminish
|
|
||||||
:after (markdown-mode)
|
:after (markdown-mode)
|
||||||
:hook (markdown-mode . conditionally-turn-on-pandoc))
|
:hook (markdown-mode . conditionally-turn-on-pandoc))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue