summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-04-03 05:04:41 +0300
committerThanos Apollo <[email protected]>2024-04-03 05:04:41 +0300
commitfa0efe393d3a756fd1ff5a7fe339e7f610a7a389 (patch)
tree5c001a78d9e596f20a2e973b69099af792a12707 /.emacs.d/init.el
parent2df9cccdb5ffc0909cb049fc310628ce96a27e10 (diff)
emacs:(erc) Update keybindings & configuration
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el12
1 files changed, 4 insertions, 8 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index b088803..32f70b4 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -621,15 +621,11 @@
(setf erc-modules
'(sasl netsplit fill button match track completion readonly
networks ring autojoin noncommands irccontrols move-to-prompt stamp
- menu list)))
+ menu list))
+ :bind (("C-c E" . 'erc-libera)
+ :map erc-mode-map
+ ("C-c RET" . 'erc-cmd-QUERY)))
-(defun erc-libera ()
- "Login to liberachat with erc."
- (interactive)
- (erc-tls :server "irc.libera.chat" :port 6697
- :nick "thanosapollo"
- :user "thanosapollo"
- :password (password-store-get "liberachat/thanos_apollo")))
(use-package erc-image
:ensure t
:after erc