diff options
author | Johnson Denen <johnson.denen@gmail.com> | 2017-04-18 14:59:55 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-04-18 15:03:01 -0400 |
commit | 1c403fb2e1d68411b6b6ee2097398ec0983b4fd7 (patch) | |
tree | 59f363bbc56af5f8085cf43b9074b998df23d270 | |
parent | 9d9da60576b3925cf7a0d91be14221f013090276 (diff) |
Add reply keybinding and update README
-rw-r--r-- | README.org | 1 | ||||
-rw-r--r-- | lisp/mastodon.el | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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) |