aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 15:24:26 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 18:21:11 +0100
commit34f9c78566a8fdb21987843a335c789a1dcfb8c4 (patch)
tree25639c0cd9ee8f38e58a807f0578ff3b7f642f1e /lisp
parent7bd869fdb58b95ae5a3d009f7030f8854191581d (diff)
add next prev item funs to lists/scheduled maps
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-views.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 2a6238b..10a6a8a 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -105,6 +105,8 @@
(defvar mastodon-views--list-name-keymap
(let ((map (make-sparse-keymap)))
+ (define-key map (kbd "n") 'mastodon-tl--goto-next-item)
+ (define-key map (kbd "p") 'mastodon-tl--goto-prev-item)
(define-key map (kbd "<return>") 'mastodon-views--view-timeline-list-at-point)
(define-key map (kbd "d") 'mastodon-views--delete-list-at-point)
(define-key map (kbd "a") 'mastodon-views--add-account-to-list-at-point)
@@ -115,6 +117,8 @@
(defvar mastodon-views--scheduled-map
(let ((map (make-sparse-keymap)))
+ (define-key map (kbd "n") 'mastodon-tl--goto-next-item)
+ (define-key map (kbd "p") 'mastodon-tl--goto-prev-item)
(define-key map (kbd "r") 'mastodon-views--reschedule-toot)
(define-key map (kbd "c") 'mastodon-views--cancel-scheduled-toot)
(define-key map (kbd "e") 'mastodon-views--edit-scheduled-as-new)