summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-03-18 21:49:01 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-03-18 21:49:01 -0400
commitb8502068860ad1fd955ac99be6a05a05b4fb9f2c (patch)
treee2c15de31a64cf21bccbe5b538fe9fe616346586 /.config
parent97d2c165b5321db52958a1803fd9d7755d81d253 (diff)
emacs: ERC: Add C-c C-u to query a user
Diffstat (limited to '.config')
-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 4d6543b..4a45069 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -317,6 +317,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-to-list 'auto-mode-alist '("PKGBUILD" . sh-mode))