Added ement.el to emacs config

This commit is contained in:
Random936
2026-02-03 20:44:03 -05:00
parent 22e4f46f5e
commit 87bdc8d91f
2 changed files with 5 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ Add a nice visualization for tabs and spaces. This can be helpful to identify wh
#+begin_src elisp
(global-whitespace-mode)
(setq whitespace-global-modes '(not org-mode dired-mode erc-mode))
(setq whitespace-global-modes '(not org-mode dired-mode erc-mode ement-room-mode))
(setq whitespace-style '(face tabs spaces tab-mark space-mark trailing))
(custom-set-faces
'(whitespace-tab ((t (:foreground "#384551"))))
@@ -87,6 +87,7 @@ This adds relative line numbers while excluding certain modes.
; Disable line numbers for certain modes
(dolist (mode '(org-mode-hook
erc-mode-hook
ement-room-mode-hook
mu4e-main-mode-hook
term-mode-hook
vterm-mode-hook
@@ -375,6 +376,7 @@ Load other files:
(jm/load-config-if-exists "~/.emacs.d/dired.org") ; Dired Config
(jm/load-config-if-exists "~/.emacs.d/lsp.org") ; Language Server Protocol
(jm/load-config-if-exists "~/.emacs.d/erc.org") ; IRC Client Config
(jm/load-config-if-exists "~/.emacs.d/matrix.org") ; Matrix Client Config
(jm/load-config-if-exists "~/.emacs.d/email.org") ; Mu4e Config
(jm/load-config-if-exists "~/.emacs.d/ledger.org") ; Ledger CLI Config
#+end_src

View File

@@ -4,8 +4,8 @@ ERC is a built-in package that adds IRC chatting functionality to emacs.
#+begin_src elisp
(jm/leader-keys
"cc" '(erc :which-key "Connect to ZNC Bouncer")
"cb" '(erc-switch-to-buffer :which-key "Switch IRC buffers"))
"cic" '(erc :which-key "Connect to ZNC Bouncer")
"cib" '(erc-switch-to-buffer :which-key "Switch IRC buffers"))
(use-package erc
:ensure nil