about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-01T17·09+0200
committerVincent Ambo <vincent@spotify.com>2013-07-01T17·09+0200
commitee536eb9b79f5dd7d5c0c7882de0759740affba3 (patch)
tree653e560f98bce3281ebd28544164191e1d6ad596
parentbaa59374dded355ffc0691ff6b549b153a3d24bb (diff)
Emacs: Added IRC config
-rw-r--r--init.el21
1 files changed, 21 insertions, 0 deletions
diff --git a/init.el b/init.el
index 620048ed0ac0..7756f012453c 100644
--- a/init.el
+++ b/init.el
@@ -39,3 +39,24 @@
 ;; Add keybindings to move nested blocks with C-, rsp. C-.
 (define-key haskell-mode-map (kbd "C-,") 'haskell-move-nested-left)
 (define-key haskell-mode-map (kbd "C-.") 'haskell-move-nested-right)
+
+;; IRC configuration (erc)
+;; Actual servers and such are loaded from irc.el
+(require 'erc)
+(load "~/.emacs.d/irc")
+
+;; Hiding JOIN, QUIT, PART
+(setq erc-hide-list '("JOIN" "PART" "QUIT"))
+
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(erc-modules (quote (autojoin button completion dcc irccontrols list log match menu move-to-prompt netsplit networks noncommands notifications readonly ring scrolltobottom stamp track))))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )