Remove erc configuration
This commit is contained in:
parent
c2066fa602
commit
caddf7de72
|
@ -1,24 +0,0 @@
|
|||
(use-package erc
|
||||
:defer t
|
||||
:config
|
||||
(progn
|
||||
;; joining && autojoing
|
||||
(erc-autojoin-mode t)
|
||||
;; check channels
|
||||
(erc-track-mode t)
|
||||
(setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE"
|
||||
"324" "329" "332" "333" "353" "477"))
|
||||
;; don't show any of this
|
||||
(setq erc-hide-list '("JOIN" "PART" "QUIT" "NICK"))
|
||||
;; buffer width
|
||||
(setq erc-fill-column 140)))
|
||||
|
||||
;; from http://emacs-fu.blogspot.ca/2009/06/erc-emacs-irc-client.html
|
||||
(defun erc-start-or-switch ()
|
||||
"Connect to ERC, or switch to last active buffer"
|
||||
(interactive)
|
||||
(if (get-buffer "10.140.40.21:6667") ;; ERC already active?
|
||||
|
||||
(erc-track-switch-buffer 1) ;; yes: switch to last active
|
||||
(when (y-or-n-p "Start ERC? ") ;; no: maybe start ERC
|
||||
(erc :server "10.140.40.21" :port 6667 :nick "sylnux" :full-name "Sylvain Benner"))))
|
|
@ -94,7 +94,6 @@
|
|||
(evil-leader/set-key
|
||||
"ac" 'calc-dispatch
|
||||
"ad" 'dired
|
||||
"ae" 'erc-start-or-switch
|
||||
"ag" 'magit-status
|
||||
"ap" 'proced
|
||||
"ase" 'eshell
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
elixir-mix
|
||||
elixir-mode
|
||||
epc
|
||||
erc
|
||||
erlang
|
||||
ess
|
||||
ess-R-data-view
|
||||
|
|
Loading…
Reference in a new issue