- (erc-update-modules))
-
-(use-package erc-fill
- :after erc
- :custom
- (erc-fill-column 77)
- (erc-fill-function 'erc-fill-static)
- (erc-fill-static-center 18))
-
-(use-package erc-pcomplete
- :after erc
- :custom
- (erc-pcomplete-nick-postfix ", "))
-
-(use-package erc-track
- :after erc
- :bind (("C-c a e t d" . erc-track-disable)
- ("C-c a e t e" . erc-track-enable)
- ("C-c a e M-a" . erc-track-switch-buffer-other-window)
- :map erc-mode-map
- ("M-a" . erc-track-switch-buffer))
- :custom
- (erc-track-enable-keybindings nil)
- (erc-track-exclude-types '("JOIN" "MODE" "NICK" "PART" "QUIT"
- "324" "329" "332" "333" "353" "477"))
- (erc-track-position-in-mode-line t)
- (erc-track-priority-faces-only 'all)
- (erc-track-shorten-function nil))
-
-(use-package erc-hl-nicks
- :after erc)
-
-(use-package erc-scrolltoplace
- :after erc)
-
-(use-package znc
- :bind (("C-c a e e" . znc-erc)
- ("C-c a e a" . znc-all))
- :config
+ (erc-update-modules)
+
+ ;; erc-fill
+ (csetq
+ erc-fill-column 77
+ erc-fill-function 'erc-fill-static
+ erc-fill-static-center 18)
+
+ ;; erc-match
+ ;; (csetq
+ ;; erc-pal-highlight-type 'message
+ ;; erc-pals
+ ;; '("aindilis" "blackbeard" "bremner" "brettgilio" "civodul" "dto"
+ ;; "ggoes" "jrasata" "jxself" "mplsCorwin" "quiliro" "rindolf" "rwp"
+ ;; "sachac" "technomancy"))
+ ;; (with-eval-after-load 'erc-match
+ ;; (set-face-attribute
+ ;; 'erc-pal-face nil
+ ;; :foreground 'unspecified
+ ;; :weight 'unspecified
+ ;; ;; :inherit 'font-lock-string-face
+ ;; ;; :background (face-attribute 'font-lock-string-face :background)
+ ;; :background "#ffffed"))
+
+ ;; erc-pcomplete
+ (csetq erc-pcomplete-nick-postfix ", ")
+
+ ;; erc-track
+ (csetq
+ erc-track-enable-keybindings nil
+ erc-track-exclude-types '("JOIN" "MODE" "NICK" "PART" "QUIT"
+ "324" "329" "332" "333" "353" "477")
+ erc-track-position-in-mode-line t
+ erc-track-priority-faces-only 'all
+ erc-track-shorten-function nil
+ erc-track-showcount t)
+
+ ;; key bindings
+ (global-set-key (kbd "C-c w e") #'erc-switch-to-buffer-other-window)
+ (define-key erc-mode-map (kbd "M-a") #'erc-track-switch-buffer))
+
+(with-eval-after-load 'znc