From 6375aa46466b980d5923773f7fe04e11384d82f0 Mon Sep 17 00:00:00 2001 From: Johnson Denen Date: Tue, 18 Apr 2017 11:13:50 -0400 Subject: Add keybinding and update README --- README.org | 12 +++++++----- lisp/mastodon.el | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index a0b3e20..f92e622 100644 --- a/README.org +++ b/README.org @@ -61,6 +61,7 @@ Opens a =*mastodon-home*= buffer in the major mode so you can see toots. |-----+------------------------------------------------| | =?= | Open context menu (if =discover= is available) | | =b= | Boost toot under =point= | +| =f= | Favourite toot under =point= | | =F= | Open federated timeline | | =H= | Open home timeline | | =j= | Go to next toot | @@ -74,11 +75,12 @@ Opens a =*mastodon-home*= buffer in the major mode so you can see toots. **** Legend -|--------+----------------------| -| Marker | Meaning | -|--------+----------------------| -| =(B)= | I boosted this toot. | -|--------+----------------------| +|--------+-------------------------| +| Marker | Meaning | +|--------+-------------------------| +| =(B)= | I boosted this toot. | +| =(F)= | I favourited this toot. | +|--------+-------------------------| *** Toot toot diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 6c13299..42bfb67 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -95,6 +95,7 @@ :group 'mastodon (let ((map mastodon-mode-map)) (define-key map (kbd "b") #'mastodon-toot--boost) + (define-key map (kbd "f") #'mastodon-toot--favourite) (define-key map (kbd "F") #'mastodon-tl--get-federated-timeline) (define-key map (kbd "H") #'mastodon-tl--get-home-timeline) (define-key map (kbd "j") #'mastodon-tl--goto-next-toot) @@ -117,6 +118,7 @@ (actions ("Toots" ("b" "Boost" mastodon-toot--boost) + ("f" "Favourite" mastodon-toot--favourite) ("j" "Next" mastodon-tl--goto-next-toot) ("k" "Prev" mastodon-tl--goto-prev-toot) ("n" "Send" mastodon-toot) -- cgit v1.2.3