aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-07-04 10:34:21 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-07-04 10:34:21 +0200
commitbb803029733589b10e1b15e26729be950714c537 (patch)
treee8dd82ebb909d300cc76161bf157f01aee3d8ece
parent0df0f377a6929aff6904ebfe70eddaeabb859ae9 (diff)
downloaddotfiles-bb803029733589b10e1b15e26729be950714c537.tar.gz
dotfiles-bb803029733589b10e1b15e26729be950714c537.zip
doom: Remove packages which are no longer used
This also includes the removal of a workaround for lsp which is no longer relevant and that suddenly was hitting me with a major performance hit. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
-rw-r--r--.config/doom/config.el59
-rw-r--r--.config/doom/init.el42
-rw-r--r--.config/doom/packages.el3
3 files changed, 21 insertions, 83 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el
index 449754b..205e318 100644
--- a/.config/doom/config.el
+++ b/.config/doom/config.el
@@ -140,19 +140,8 @@
(map! "<f8>" #'ispell-word)
(map! "M-<f8>" #'flyspell-buffer)
-(let ((lt-path "/usr/share/languagetool"))
- (setq langtool-language-tool-jar (concat lt-path "/languagetool-commandline.jar")
- langtool-mother-tongue "ca"))
-
-(when (fboundp 'langtool-check)
- (map! "<f9>" #'langtool-check-buffer)
- (map! "M-<f9>" #'langtool-correct-buffer))
-
;;; Programming languages.
-;; NOTE: workaround found in: https://github.com/emacs-lsp/lsp-mode/issues/3577#issuecomment-2064491363
-(require 'lsp-mode)
-
;; Flags to be passed to `clangd' for LSP integration.
(after! lsp-clangd
(setq lsp-clients-clangd-args
@@ -265,51 +254,3 @@
mml-secure-openpgp-sign-with-sender t)
(add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime)
-
-;;; Elfeed
-
-;; Key binding for starting Elfeed.
-(map! :leader "o e" #'elfeed)
-
-;; Map 'C-c C-u' to `elfeed-update', just like in mu4e.
-(map! :after elfeed
- :map elfeed-search-mode-map
- :prefix "C-c"
- "C-u" #'elfeed-update)
-
-(after! elfeed
- ;; From now on run elfeed-update every 30 minutes.
- (run-at-time nil (* 30 60) 'elfeed-update)
-
- ;; Only show unread items.
- (setq elfeed-search-filter "@1-month-ago +unread"))
-
-;;; IRC
-
-;; Key binding for starting Circe.
-(map! :leader "o i" #'=irc)
-
-(after! circe
- (setq auth-sources '((:source "~/org/authinfo.gpg")))
-
- ;; Given a :user and a :machine, returns the password assigned to it on my
- ;; personal authinfo.gpg file as defined in the `auth-sources'.
- (defun mssola/fetch-password-from-auth (&rest params)
- (require 'auth-source)
- (let ((match (car (apply 'auth-source-search params))))
- (if match
- (let ((secret (plist-get match :secret)))
- (if (functionp secret)
- (funcall secret)
- secret))
- (error "Password not found for %S" params))))
-
- (set-irc-server! "irc.libera.chat"
- '(:tls t
- :port 6697
- :nick "mssola"
- :sasl-username "mssola"
- :sasl-password
- (lambda (server)
- (mssola/fetch-password-from-auth :user "mssola" :machine server))
- :channels ("#riscv"))))
diff --git a/.config/doom/init.el b/.config/doom/init.el
index 5370166..f0c859a 100644
--- a/.config/doom/init.el
+++ b/.config/doom/init.el
@@ -29,7 +29,7 @@
;;ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
;;tabs ; a tab bar for Emacs
- treemacs ; a project drawer, like neotree but cooler
+ ;;treemacs ; a project drawer, like neotree but cooler
;;unicode ; extended unicode support for various languages
;;vc-gutter ; vcs diff in the fringe
;;vi-tilde-fringe ; fringe tildes to mark beyond EOB
@@ -39,7 +39,7 @@
:editor
(evil +everywhere) ; come to the dark side, we have cookies
- file-templates ; auto-snippets for empty files
+ ;;file-templates ; auto-snippets for empty files
;;fold ; (nigh) universal code folding
(format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys
@@ -48,21 +48,21 @@
;;objed ; text object editing for the innocent
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates
- snippets ; my elves. They type so I don't have to
+ ;;snippets ; my elves. They type so I don't have to
;;word-wrap ; soft wrapping with language-aware indent
:emacs
- dired ; making dired pretty [functional]
- electric ; smarter, keyword-based electric-indent
- ;;ibuffer ; interactive buffer management
- undo ; persistent, smarter undo for your inevitable mistakes
- vc ; version-control and Emacs, sitting in a tree
+ dired ; making dired pretty [functional]
+ electric ; smarter, keyword-based electric-indent
+ ;;ibuffer ; interactive buffer management
+ undo ; persistent, smarter undo for your inevitable mistakes
+ vc ; version-control and Emacs, sitting in a tree
:term
;;eshell ; the elisp shell that works everywhere
;;shell ; simple shell REPL for Emacs
;;term ; basic terminal emulator for Emacs
- vterm ; the best terminal emulation in Emacs
+ ;;vterm ; the best terminal emulation in Emacs
:checkers
syntax ; tasing you for every semicolon you forget
@@ -73,27 +73,27 @@
;;ansible
;;debugger ; FIXME stepping through code, to help you add bugs
;;direnv
- docker
+ ;; docker
editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
- (eval +overlay) ; run code, run (also, repls)
+ ;;(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp ; M-x vscode
magit ; a git porcelain for Emacs
- make ; run make tasks from Emacs
+ ;;make ; run make tasks from Emacs
;;pass ; password manager for nerds
- pdf ; pdf enhancements
+ ;;pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects
- terraform ; infrastructure as code
+ ;;terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux
tree-sitter
;;upload ; map local to remote projects via ssh/ftp
:os
- (:if IS-MAC macos) ; improve compatibility with macOS
+ ;;(:if IS-MAC macos) ; improve compatibility with macOS
(tty +osc) ; improve the terminal Emacs experience
:lang
@@ -101,11 +101,11 @@
;;beancount ; mind the GAAP
(cc +lsp +tree-sitter) ; C > C++ == 1
;;clojure ; java with a lisp
- common-lisp ; if you've seen one lisp, you've seen them all
+ ;;common-lisp ; if you've seen one lisp, you've seen them all
;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans
- data ; config/data formats
+ ;;;data ; config/data formats
;;(dart +flutter) ; paint ui and not much else
;;dhall
;;elixir ; erlang done right
@@ -130,7 +130,7 @@
latex ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove
;;ledger ; be audit you can be
- lua ; one-based indices? one-based indices
+ ;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"
@@ -156,7 +156,7 @@
;;terra ; Earth and Moon in alignment for performance.
web ; the tubes
yaml ; JSON, but readable
- (zig +lsp +tree-sitter) ; C, but simpler
+ ;; (zig +lsp +tree-sitter) ; C, but simpler
:email
(mu4e +gmail)
@@ -167,8 +167,8 @@
;;calendar
;;emms
;;everywhere ; *leave* Emacs!? You must be joking
- irc ; how neckbeards socialize
- (rss +org) ; emacs as an RSS reader
+ ;;irc ; how neckbeards socialize
+ ;;(rss +org) ; emacs as an RSS reader
;;twitter ; twitter client https://twitter.com/vnought
:config
diff --git a/.config/doom/packages.el b/.config/doom/packages.el
index 79a21c8..b7a6c5d 100644
--- a/.config/doom/packages.el
+++ b/.config/doom/packages.el
@@ -2,7 +2,4 @@
;;; $DOOMDIR/packages.el
(package! crux)
-(package! langtool)
-(package! mu4e-alert :disable t)
(package! message-view-patch)
-(package! bpftrace-mode)