diff options
author | Johnson Denen <johnson.denen@gmail.com> | 2017-04-18 11:13:50 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-04-18 11:16:43 -0400 |
commit | 6375aa46466b980d5923773f7fe04e11384d82f0 (patch) | |
tree | 5ff1b07e62ed8df5ab5ab63c5a001df7369a6edb | |
parent | 3b781f850c825813fba4719cd5e082d010389eeb (diff) |
Add keybinding and update README
-rw-r--r-- | README.org | 12 | ||||
-rw-r--r-- | lisp/mastodon.el | 2 |
2 files changed, 9 insertions, 5 deletions
@@ -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) |