summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-06-06 23:28:25 -0500
committerCase Duckworth2021-06-06 23:28:25 -0500
commit411855b816babb3f641c1ffcdf11d4d12a340b32 (patch)
tree3dfd3e2b86f3ceaffd22735fb5ceb032c9ad3f28
parentForce mode line update after quitting server (diff)
downloademacs-411855b816babb3f641c1ffcdf11d4d12a340b32.tar.gz
emacs-411855b816babb3f641c1ffcdf11d4d12a340b32.zip
Change ERC config
-rw-r--r--init.el24
1 files changed, 16 insertions, 8 deletions
diff --git a/init.el b/init.el index 357f7da..73a7c5d 100644 --- a/init.el +++ b/init.el
@@ -262,22 +262,29 @@
262 erc-button-url-regexp browse-url-button-regexp 262 erc-button-url-regexp browse-url-button-regexp
263 erc-common-server-suffixes '(("tilde.chat\\'" . "~") 263 erc-common-server-suffixes '(("tilde.chat\\'" . "~")
264 ("libera.chat\\'" . "LC")) 264 ("libera.chat\\'" . "LC"))
265 erc-default-server "irc.tilde.chat" ; fuck freenode. all my friends hate
266 ; freenode.
267 erc-fill-function #'erc-fill-static
268 erc-fill-static-center 14
265 erc-header-line-face-method #'erc/update-header-line-show-disconnected 269 erc-header-line-face-method #'erc/update-header-line-show-disconnected
266 erc-hide-list '("JOIN" "NICK" "PART" "QUIT" "MODE" 270 erc-hide-list '("JOIN" "NICK" "PART" "QUIT" "MODE"
267 "324" "329" "332" "333" "353" "477") 271 "324" "329" "332" "333" "353" "477")
268 erc-interpret-controls-p t 272 erc-interpret-controls-p t
269 erc-interpret-mirc-color t 273 erc-interpret-mirc-color t
270 erc-join-buffer 'buffer 274 erc-join-buffer 'bury
271 erc-kill-buffer-on-part t 275 erc-kill-buffer-on-part t
272 erc-kill-queries-on-quit t 276 erc-kill-queries-on-quit t
273 erc-kill-server-buffer-on-quit t 277 erc-kill-server-buffer-on-quit t
274 erc-nick "acdw" 278 erc-nick "acdw"
275 erc-prompt (lambda () (concat (buffer-name) ">")) 279 erc-prompt (lambda () (acdw-erc/prompt))
276 erc-prompt-for-password nil ; use ~/.authinfo 280 erc-prompt-for-password nil ; use ~/.authinfo
277 erc/servers (mapcar #'car erc-autojoin-channels-alist) 281 erc/servers (mapcar #'car erc-autojoin-channels-alist)
278 erc-server-coding-system '(utf-8 . utf-8) 282 erc-server-coding-system '(utf-8 . utf-8)
279 erc-track-exclude-types erc-hide-list 283 erc-track-exclude-types erc-hide-list
280 erc-track-position-in-mode-line 'before-modes) 284 erc-track-exclude-server-buffer t
285 erc-track-position-in-mode-line 'before-modes
286 erc-track-visibility nil ; only the selected frame
287 )
281 288
282 ;; Thanks bpalmer! 289 ;; Thanks bpalmer!
283 (advice-add 'show-paren-function :around 290 (advice-add 'show-paren-function :around
@@ -290,11 +297,12 @@
290 erc-track-mode 297 erc-track-mode
291 erc-truncate-mode) 298 erc-truncate-mode)
292 299
293 (setup (:straight erc-hl-nicks) 300 ;; (setup (:straight erc-hl-nicks)
294 (with-eval-after-load 'erc 301 ;; (with-eval-after-load 'erc
295 (require 'erc-hl-nicks) 302 ;; (require 'erc-hl-nicks)
296 (:option erc-hl-nicks-minimum-contrast-ratio 4.5) 303 ;; (:option erc-hl-nicks-minimum-contrast-ratio 4.5)
297 (:hook-into erc-mode)))) 304 ;; (:hook-into erc-mode)))
305 )
298 306
299(setup eshell 307(setup eshell
300 (:also-load acdw-eshell 308 (:also-load acdw-eshell