From 0bd2bea47d41545e0b8b6bcbaaa9fca06d202d19 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 16 Oct 2023 15:38:34 +0200 Subject: override shr-linkmap 'u' binding, to update. 'w' is copy-url already --- lisp/mastodon-tl.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index e25b57c..3e4e31e 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -237,6 +237,9 @@ etc.") (define-key map [remap shr-previous-link] #'mastodon-tl--previous-tab-item) ;; keep new my-profile binding; shr 'O' doesn't work here anyway (define-key map (kbd "O") #'mastodon-profile--my-profile) + ;; remove shr's u binding, as it the maybe-probe-and-copy-url + ;; is already bound to w also + (define-key map (kbd "u") #'mastodon-tl--update) (define-key map [remap shr-browse-url] #'mastodon-url-lookup) map) "The keymap to be set for shr.el generated links that are not images. -- cgit v1.2.3