From f85aefd545394d50ae753c0a51646b588c18e836 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Thu, 13 Jun 2024 19:47:23 +0000 Subject: Add further configuration for jabber --- emacs/init.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'emacs/init.el') 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)) -- cgit 1.4.1-2-gfad0