Introduction
Introduction Statistics Contact Development Disclaimer Help
add [ and ] keybind to open the next visible feed in the pane - sfeed_curses - …
git clone git://git.codemadness.org/sfeed_curses
Log
Files
Refs
README
LICENSE
---
commit 215e57201ba7b6354cda15ed0904570b1b9277b4
parent f649473b5f2146a7bcaa598f6314c2d44d8e3c4a
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 30 May 2021 11:59:33 +0200
add [ and ] keybind to open the next visible feed in the pane
Suggested and used by adc, thanks for the feedback!
Diffstat:
M sfeed_curses.1 | 6 +++++-
M sfeed_curses.c | 5 +++++
2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/sfeed_curses.1 b/sfeed_curses.1
@@ -1,4 +1,4 @@
-.Dd March 25, 2021
+.Dd May 30, 2021
.Dt SFEED_CURSES 1
.Os
.Sh NAME
@@ -71,6 +71,10 @@ Scroll one page down.
Prompt for a new search and search forward (case-insensitive).
.It ?
Prompt for a new search and search backward (case-insensitive).
+.It \&[
+Go to the previous feed in the feeds pane and open it.
+.It ]
+Go to the next feed in the feeds pane and open it.
.It n
Search forward with the previously set search term.
.It N
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -2293,6 +2293,11 @@ nextpage:
case 6: /* ^F */
pane_scrollpage(&panes[selpane], +1);
break;
+ case '[':
+ case ']':
+ pane_scrolln(&panes[PaneFeeds], ch == '[' ? -1 : +1);
+ feed_open_selected(&panes[PaneFeeds]);
+ break;
case '/': /* new search (forward) */
case '?': /* new search (backward) */
case 'n': /* search again (forward) */
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.