summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-03-18 21:49:01 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-03-21 14:13:15 -0400
commitbdaf7fc195a15b88b1c31184f21bdee955703a38 (patch)
tree0aaf35bcfe14f94333c91e28bcf2b1e4d7735901
parent7bf7d5aa5c1df452fd88f26026f129fd9b49fbe1 (diff)
emacs: ERC: Add C-c C-u to query a user
-rw-r--r--.config/emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 7ce9d61..dbf4799 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -319,6 +319,10 @@ sh-script.el is broken."
(add-hook 'sh-mode-hook
'(lambda ()
(sh-electric-here-document-mode 0)
+
+(add-hook 'erc-mode-hook
+ '(lambda ()
+ (define-key erc-mode-map (kbd "C-c C-u") 'erc-cmd-QUERY)
))
(add-hook 'js-mode-hook