From 1c403fb2e1d68411b6b6ee2097398ec0983b4fd7 Mon Sep 17 00:00:00 2001 From: Johnson Denen Date: Tue, 18 Apr 2017 14:59:55 -0400 Subject: Add reply keybinding and update README --- README.org | 1 + lisp/mastodon.el | 2 ++ 2 files changed, 3 insertions(+) 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) -- cgit v1.2.3