diff options
author | mousebot <mousebot@riseup.net> | 2021-05-20 16:27:56 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-05-21 11:32:30 +0200 |
commit | 6d675413823b267c76b67dfdcffee11c3a1bf173 (patch) | |
tree | 3063682968c8ae695a4025b1cac2c46f06d5652b /lisp/mastodon-discover.el | |
parent | 841bf851ed49389a38007ca02257ba780972e48b (diff) |
Implement clickable images with shr-browse-image.
images are tab stops. click or RET runs shr-browse-image. a prefix arg
copies the URL.
images use the mastodon-tl--shr-image-map-replacement for extra functions like zoom
image, save image, rotate image, etc.
Diffstat (limited to 'lisp/mastodon-discover.el')
-rw-r--r-- | lisp/mastodon-discover.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/mastodon-discover.el b/lisp/mastodon-discover.el index 862eb8f..9e1cbad 100644 --- a/lisp/mastodon-discover.el +++ b/lisp/mastodon-discover.el @@ -50,6 +50,8 @@ ("c" "Toggle hidden text" mastodon-tl--toggle-spoiler-text-in-toot) ("n" "Next" mastodon-tl--goto-next-toot) ("p" "Prev" mastodon-tl--goto-prev-toot) + ("TAB" "Next link item" mastodon-tl--next-tab-item) + ("S-TAB" "Prev link item" mastodon-tl--previous-tab-item) ("t" "New toot" mastodon-toot) ("r" "Reply" mastodon-toot--reply) ("C" "Copy toot URL" mastodon-tl--copy-toot-url) @@ -72,6 +74,12 @@ ("C-S-M" "Unmute" mastodon-tl--unmute-user) ("B" "Block" mastodon-tl--block-user) ("C-S-B" "Unblock" mastodon-tl--unblock-user)) + ("Images" + ("RET/i" "Load full image in browser" 'shr-browse-image) + ("r" "rotate" 'image-rotate) + ("+" "zoom in" 'image-increase-size) + ("-" "zoom out" 'image-decrease-size) + ("u" "copy URL" 'shr-maybe-probe-and-copy-url)) ("Profile view" ("o" "Show following" mastodon-profile--open-following) ("O" "Show followers" mastodon-profile--open-followers)) |