aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mastodon-discover.el17
-rw-r--r--lisp/mastodon-profile.el8
2 files changed, 19 insertions, 6 deletions
diff --git a/lisp/mastodon-discover.el b/lisp/mastodon-discover.el
index 8c47fbd..33ce3d5 100644
--- a/lisp/mastodon-discover.el
+++ b/lisp/mastodon-discover.el
@@ -49,7 +49,7 @@
("A" "View profile of author" mastodon-profile--get-toot-author)
("b" "Boost" mastodon-toot--boost)
("f" "Favourite" mastodon-toot--favourite)
- ("c" "Toggle hidden text" mastodon-tl--toggle-spoiler-text-in-toot)
+ ("c" "Toggle hidden text (CW)" 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)
@@ -58,18 +58,22 @@
("r" "Reply" mastodon-toot--reply)
("C" "Copy toot URL" mastodon-toot--copy-toot-url)
("d" "Delete (your) toot" mastodon-toot--delete-toot)
+ ("D" "Delete and redraft (your) toot" mastodon-toot--delete-toot)
("i" "Pin/Unpin (your) toot" mastodon-toot--pin-toot-toggle)
("P" "View user profile" mastodon-profile--show-user)
- ("T" "View thread" mastodon-tl--thread))
+ ("T" "View thread" mastodon-tl--thread)
+ ("v" "Vote on poll" mastodon-tl--poll-vote))
("Timelines"
- ("#" "Tag" mastodon-tl--get-tag-timeline)
+ ("h" "View mode help/keybindings" describe-mode)
+ ("#" "Tag search" mastodon-tl--get-tag-timeline)
("F" "Federated" mastodon-tl--get-federated-timeline)
("H" "Home" mastodon-tl--get-home-timeline)
("L" "Local" mastodon-tl--get-local-timeline)
("N" "Notifications" mastodon-notifications--get)
("u" "Update timeline" mastodon-tl--update)
("S" "Search" mastodon-search--search-query)
- ("C-S-P" "Jump to my profile" mastodon-profile--my-profile))
+ ("C-S-P" "Jump to your profile" mastodon-profile--my-profile)
+ ("K" "View bookmarks" mastodon-profile--view-bookmarks))
("Users"
("W" "Follow" mastodon-tl--follow-user)
("C-S-W" "Unfollow" mastodon-tl--unfollow-user)
@@ -86,10 +90,11 @@
("Profile view"
("o" "Show following" mastodon-profile--open-following)
("O" "Show followers" mastodon-profile--open-followers)
- ("v" "View favourites" mastodon-profile--view-favourites)
+
("R" "View follow requests" mastodon-profile--view-follow-requests)
("a" "Accept follow request" mastodon-profile--follow-request-accept)
- ("r" "Reject follow request" mastodon-profile--follow-request-reject))
+ ("j" "Reject follow request" mastodon-profile--follow-request-reject)
+ ("U" "Update your profile note" mastodon-profile--update-user-profile-note))
("Quit"
("q" "Quit mastodon and bury buffer." kill-this-buffer)
("Q" "Quit mastodon buffer and kill window." kill-buffer-and-window)))))))
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 2c364da..a374061 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -143,6 +143,14 @@ extra keybindings."
"favourites"
'mastodon-tl--timeline))
+(defun mastodon-profile--view-bookmarks ()
+ "Open a new buffer displaying the user's bookmarks."
+ (interactive)
+ (message "Loading your bookmarked toots...")
+ (mastodon-tl--init "bookmarks"
+ "bookmarks"
+ 'mastodon-tl--timeline))
+
(defun mastodon-profile--view-follow-requests ()
"Open a new buffer displaying the user's follow requests."
(interactive)