I’m wondering if there’s a way to use keyboard shortcuts to not only go between next/previous feeds, but rather to go between feeds that have any unread articles in them. Or if there’s such a plugin available?
If you’ve set TT-RSS to show all feeds, the keyboard shortcuts navigate every feed. If you set TT-RSS to show only feeds with unread articles, the keyboard shortcuts only navigate between feeds with unread.
tl;dr
The keyboard shortcuts navigate feeds that are visible. Toggle visibility of feeds with un/read with f a.
Is it just me, or are these new binds backwards? j should be down, but it goes up, and k goes down when it should go up. Compare to the in-feed moving between articles (which I have set to sort oldest first if that makes the difference).
Default behavior is ‘j’ moves up to next unread feed, ‘k’ moves down… To reverse this behavior you need the ‘hotkeys_swap_jk’ plugin installed and enabled.
With that typed. I have the ‘hotkeys_swap_jk’ plugin installed and enabled and ‘j/k’ and ‘Shift+j/k’ (with the latest commits (8574532b7)) works as expected for me, i.e., 'j and ‘J’=down, k/K=up.
Edit to add: the ‘hotkeys_swap_jk’ plugin is not an additional install, it’s already included by default and just needs to be enabled as described above.
.
I have that hotkeys_swap_jk plugin available but shows as inactive in my user preferences. If I enable it I’m going to have both next message and next feed backwards so far as I’m concerned, aren’t I ?
j/k, I thought, are meant to be ‘vi’ style keys, and that means k should go up, and j down.
So I have only a system copy of the hotkeys_swap_jk plugin.
In my user account preferences, the hotkeys_swap_jk plugin shows as disabled. I’ve double-checked this with the default theme (I usually use the night theme).
I use “Adaptive” mode and “Oldest First”, “Combined mode” is active.
Hitting ‘j’ (only the key, no shift) whilst viewing an article causes the article below it to become active and shown. Hitting only ‘k’ (only the key, no shift) whilst viewing an article causes the article above it to become active and shown.
Hitting ‘J’ (the key, with shift) causes navigation to move to UP to the next category with unread articles. Hitting ‘K’ (the key, with shift) causes navigation to move DOWN to the next category with unread articles. NB: This functionality will ‘wrap around’ if needs be.
So, without hotkeys_swap_jk active I am getting the expect ‘vi’ behaviour on moving between individual articles within a feed/category, but I am getting the opposite with the shifted keys for moving between article categories.
I just toggled (so should be enabled) that hotkeys_swap_jk plugin, force-reloaded after saving to be sure, and now ‘j’ (no shift’) is going down a category?
most likely some other plugin - googlereaderkeys - is modifying hotkey maps for you.
j/k move between feeds, same as J/K between unread feeds, swap_jk modifies those to work the same but in reverse.
i’m not sure if googlereader plugin is needed in trunk at all. it should be split out into plugin installer system or deprecated entirely, because i’m not actively maintaining it anyway.
since it’s not actively maintained and hotkey maps modified like that cause inconsistencies within tt-rss UI, i don’t want to put split version on the plugin “easy” installer.
people who want to continue living like its 2013 can install it manually from gitea.
I’m currently busy with other things, but at some point I’ll no doubt update my ttrss again, lose googlereaderkeys and get around to sorting it all out, and adding the ‘next unread feed’ support in if it’s not in the repo that fox split it out into.