aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-15 01:07:58 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-15 21:30:48 -0400
commitfe32d705777928c1d7f54f5eee30fbca4500b619 (patch)
treeea228ef7a5919f079252e7a89d9a1a3e2c9089dd /lisp/mastodon.el
parentd1aa39c22b43324751f8400aa303c7d467864665 (diff)
Add `j' and `k' bindings to move to previous/next toot
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index edc1d03..3bddf55 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -96,6 +96,8 @@
(let ((map mastodon-mode-map))
(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)
+ (define-key map (kbd "k") #'mastodon-tl--goto-prev-toot)
(define-key map (kbd "L") #'mastodon-tl--get-local-timeline)
(define-key map (kbd "n") #'mastodon-toot)
(define-key map (kbd "q") #'kill-this-buffer)
@@ -111,6 +113,9 @@
:context-menu '(mastodon
(description "Mastodon feed viewer")
(actions
+ ("Navigation"
+ ("j" "Go to next toot" mastodon-tl--goto-next-toot)
+ ("k" "Go to previous toot" mastodon-tl--goto-prev-toot))
("Feed switch"
("F" "Open federated timeline" mastodon-tl--get-federated-timeline)
("H" "Open home timeline" mastodon-tl--get-home-timeline)