summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-13 19:47:23 +0000
committernoa@gaiwan.org2024-06-13 19:47:23 +0000
commitf85aefd545394d50ae753c0a51646b588c18e836 (patch)
tree3e1585a42d922e8856fca8eaa83b6b5f58238ac8 /emacs
parentf0f0227e1a3e255b6d660eda0c1e025ff0698910 (diff)
Add further configuration for jabber
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index db6d1fa..841d036 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -152,6 +152,13 @@ and when JID is not in `jabber-activity-banned'."
 (remove-hook 'jabber-alert-muc-hooks #'jabber-muc-echo)
 (remove-hook 'jabber-alert-presence-hooks #'jabber-presence-echo)
 
+;; Also stop jabber from clobbering the dired-jump binding and instead use something on C-c like a good child.
+(with-eval-after-load 'jabber
+  (keymap-global-set "C-x C-j" #'dired-jump))
+
+;; Finally, have a binding to jump to a buffer in which there's been some new activity.  Better than always using switch-to-buffer to get there.
+(keymap-global-set "C-c C-j" #'jabber-activity-switch-to)
+
 (use-package nov
 	:ensure t
 	:mode ("\\.epub\\'" . nov-mode))