diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-16 15:38:34 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-16 15:38:34 +0200 |
commit | 0bd2bea47d41545e0b8b6bcbaaa9fca06d202d19 (patch) | |
tree | c7f05d99bc81a9ceff630c282d8077b3ec9e3610 /lisp | |
parent | 4a9c2015ee860542385f1f302c1d0ffc46aa0011 (diff) |
override shr-linkmap 'u' binding, to update. 'w' is copy-url already
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-tl.el | 3 |
1 files changed, 3 insertions, 0 deletions
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. |