42 lines
1.1 KiB
EmacsLisp
42 lines
1.1 KiB
EmacsLisp
|
(use-package erc
|
||
|
:custom
|
||
|
(erc-track-shorten-start 8)
|
||
|
(erc-kill-buffer-on-part t)
|
||
|
(erc-auto-query 'bury)
|
||
|
(erc-hide-list '("JOIN" "PART" "QUIT"))
|
||
|
(erc-network-hide-list '(("irc.libera.chat" "JOIN" "PART" "QUIT")))
|
||
|
(erc-channel-hide-list '(("#emacs" "JOIN" "PART" "QUIT")))
|
||
|
(erc-rename-buffers t)
|
||
|
(erc-autojoin-channels-alist '(("libera.chat" "#emacs")))
|
||
|
(erc-interpret-mirc-color t)
|
||
|
(erc-modules '(autojoin
|
||
|
button
|
||
|
completion
|
||
|
fill
|
||
|
irccontrols
|
||
|
list
|
||
|
match
|
||
|
menu
|
||
|
move-to-prompt
|
||
|
netsplit
|
||
|
networks
|
||
|
noncommands
|
||
|
notifications
|
||
|
readonly
|
||
|
ring
|
||
|
stamp
|
||
|
track
|
||
|
truncate)))
|
||
|
|
||
|
(use-package erc-image
|
||
|
:after erc
|
||
|
:custom (erc-image-inline-rescale 300)
|
||
|
:config (add-to-list 'erc-modules 'image))
|
||
|
|
||
|
(defun start-irc (nick)
|
||
|
(interactive "sTell me your nick please: ")
|
||
|
(erc-tls :server "irc.libera.chat"
|
||
|
:port 6697
|
||
|
:nick nick
|
||
|
:full-name "emacs-user"))
|