aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.org1
-rw-r--r--lisp/mastodon.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/README.org b/README.org
index f92e622..a5ab83b 100644
--- a/README.org
+++ b/README.org
@@ -70,6 +70,7 @@ Opens a =*mastodon-home*= buffer in the major mode so you can see toots.
| =n= | Switch to =mastodon-toot= buffer |
| =q= | Quit mastodon buffer. Leave window open. |
| =Q= | Quit mastodon buffer and kill window. |
+| =r= | Reply to toot under =point=. |
| =T= | Prompt for tag and open its timeline |
|-----+------------------------------------------------|
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 478c6dd..c7dc772 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -107,6 +107,7 @@
(define-key map (kbd "n") #'mastodon-toot)
(define-key map (kbd "q") #'kill-this-buffer)
(define-key map (kbd "Q") #'kill-buffer-and-window)
+ (define-key map (kbd "r") #'mastodon-toot--reply)
(define-key map (kbd "T") #'mastodon-tl--get-tag-timeline)
(define-key map (kbd "u") #'mastodon-tl--update)))
@@ -125,6 +126,7 @@
("j" "Next" mastodon-tl--goto-next-toot)
("k" "Prev" mastodon-tl--goto-prev-toot)
("n" "Send" mastodon-toot)
+ ("r" "Reply" mastodon-toot--reply)
("u" "Update" mastodon-tl--update))
("Timelines"
("F" "Federated" mastodon-tl--get-federated-timeline)