summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-05-28 21:40:10 -0400
committerAmin Bandali <bandali@gnu.org>2019-05-28 21:40:10 -0400
commite3e5e8464b1676877c0ddd13dd26426f35098f4e (patch)
tree6287171d90d89a0bce1c8e026620f42d9822fe05
parentcec07e02b730c3fe8aa3972b0b5406f594c5b702 (diff)
downloadconfigs-e3e5e8464b1676877c0ddd13dd26426f35098f4e.tar.gz
configs-e3e5e8464b1676877c0ddd13dd26426f35098f4e.tar.xz
configs-e3e5e8464b1676877c0ddd13dd26426f35098f4e.zip
emacs: erc: put customizations into their own sub-packages
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el27
1 files changed, 20 insertions, 7 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 5059f1c..e490014 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2016,25 +2016,19 @@ https://csclub.uwaterloo.ca/~abandali/")
(gnus-harvest-install))))
-;;; IRC
+;;; IRC (with ERC and ZNC)
(use-feature erc
:bind (("C-c a e b" . erc-switch-to-buffer)
:map erc-mode-map
("M-a" . erc-track-switch-buffer))
:custom
- (erc-fill-function 'erc-fill-static)
- (erc-fill-static-center 18)
(erc-join-buffer 'bury)
(erc-lurker-hide-list '("JOIN" "PART" "QUIT"))
(erc-nick "bandali")
- (erc-pcomplete-nick-postfix ",")
(erc-rename-buffers t)
(erc-server-reconnect-attempts 5)
(erc-server-reconnect-timeout 3)
- (erc-track-exclude-types '("JOIN" "MODE" "NICK" "PART" "QUIT"
- "324" "329" "332" "333" "353" "477"))
- (erc-track-priority-faces-only 'all)
:config
(with-eval-after-load 'ivy
;; ignore channel buffer names
@@ -2054,6 +2048,25 @@ https://csclub.uwaterloo.ca/~abandali/")
(add-to-list 'erc-modules 'scrolltoplace)
(erc-update-modules))
+(use-feature erc-fill
+ :after erc
+ :custom
+ (erc-fill-function 'erc-fill-static)
+ (erc-fill-static-center 18))
+
+(use-feature erc-pcomplete
+ :after erc
+ :custom
+ (erc-pcomplete-nick-postfix ","))
+
+(use-feature erc-track
+ :after erc
+ :custom
+ (erc-track-exclude-types '("JOIN" "MODE" "NICK" "PART" "QUIT"
+ "324" "329" "332" "333" "353" "477"))
+ (erc-track-priority-faces-only 'all)
+ (erc-track-shorten-function nil))
+
(use-package erc-hl-nicks
:after erc)