From fe32d705777928c1d7f54f5eee30fbca4500b619 Mon Sep 17 00:00:00 2001 From: Johnson Denen Date: Sat, 15 Apr 2017 01:07:58 -0400 Subject: Add `j' and `k' bindings to move to previous/next toot --- lisp/mastodon.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp/mastodon.el') 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) -- cgit v1.2.3