Cleanup some packages

Remove treemacs, pass, elfeed-tube, latex extension packages
This commit is contained in:
Evie Litherland-Smith 2024-07-11 16:35:51 +01:00
parent 22cde2f515
commit f0e91ff6fa
2 changed files with 9 additions and 55 deletions

34
init.el
View file

@ -1014,17 +1014,6 @@ Calls `project-remember-projects-under' for ~/Projects/"
("\\`\\(?:sourcehut:\\|sh:\\)\\([^:]+\\)\\'" "git.sr.ht" "sourcehut.user") ("\\`\\(?:sourcehut:\\|sh:\\)\\([^:]+\\)\\'" "git.sr.ht" "sourcehut.user")
("\\`\\(?:gitea:\\|gt:\\)\\([^:]+\\)\\'" "git.xenia.me.uk" "gitea.user")))) ("\\`\\(?:gitea:\\|gt:\\)\\([^:]+\\)\\'" "git.xenia.me.uk" "gitea.user"))))
(use-package treemacs
:functions (treemacs treemacs-load-theme)
:bind (("M-g t" . treemacs-select-window))
:hook (treemacs-mode . (lambda () (visual-line-mode -1)))
:config
(when (require 'treemacs-nerd-icons nil :noerror)
(treemacs-load-theme "nerd-icons")))
(use-package treemacs-nerd-icons
:requires nerd-icons)
(use-package aggressive-indent (use-package aggressive-indent
:hook (elisp-mode :hook (elisp-mode
lisp-mode lisp-mode
@ -1194,33 +1183,10 @@ Calls `project-remember-projects-under' for ~/Projects/"
:config :config
(elfeed-org)) (elfeed-org))
(use-package elfeed-tube
:after elfeed
:defines (elfeed-show-mode-map
elfeed-search-mode-map)
:functions elfeed-tube-setup
:bind ( :map elfeed-show-mode-map
("F" . elfeed-tube-fetch)
([remap save-buffer] . elfeed-tube-save)
:map elfeed-search-mode-map
("F" . elfeed-tube-fetch)
([remap save-buffer] . elfeed-tube-save))
:custom
(elfeed-tube-auto-save-p nil)
(elfeed-tube-auto-fetch-p t)
:config
(elfeed-tube-setup))
(use-package password-store (use-package password-store
:defer t :defer t
:functions password-store-get) :functions password-store-get)
(use-package pass
:bind (("C-c P" . pass))
:custom
(pass-show-keybindings nil)
(pass-username-field "login"))
;; Scratch buffer shortcut ;; Scratch buffer shortcut
(keymap-global-set "C-c w x" #'scratch-buffer) (keymap-global-set "C-c w x" #'scratch-buffer)

View file

@ -11,29 +11,17 @@
all-the-icons nerd-icons nerd-icons-completion nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer all-the-icons nerd-icons nerd-icons-completion nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer
minions ligature page-break-lines helpful which-key ace-window link-hint diff-hl minions ligature page-break-lines helpful which-key ace-window link-hint diff-hl
;; Completion ;; Completion
cape consult consult-eglot consult-flyspell corfu corfu-terminal embark embark-consult marginalia orderless vertico vertico orderless marginalia cape corfu corfu-terminal
;; Templates consult consult-eglot consult-flyspell embark embark-consult
tempel license-templates gitignore-templates flyspell-correct tempel
;; spell-checking
flyspell-correct
;; password-store
pass password-store
;; IDE ;; IDE
treesit-auto flymake-popon flymake-shellcheck flymake-yamllint flymake-eslint apheleia envrc rainbow-delimiters aggressive-indent python-docstring nix-mode lua-mode treesit-auto magit forge flymake-popon flymake-shellcheck flymake-yamllint flymake-eslint
;; Media apheleia envrc rainbow-delimiters aggressive-indent python-docstring nix-mode lua-mode
emms
;; org-mode
org-roam org-noter citar citar-embark
;; org-mode HTML export
htmlize
;; Projects
magit forge treemacs treemacs-nerd-icons
;; Writing ;; Writing
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane org-roam org-noter citar citar-embark
;; Contacts markdown-mode pandoc-mode auctex htmlize
bbdb ement ;; Other
;; RSS feeds password-store emms bbdb ement elfeed elfeed-org))
elfeed elfeed-org elfeed-tube))
:config :config
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/")) (add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/"))