summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-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))