Skip to content

Instantly share code, notes, and snippets.

@johsjohsjohs
Created June 18, 2022 20:31
Show Gist options
  • Save johsjohsjohs/69a65814281d1d47f0c72d3500ece65c to your computer and use it in GitHub Desktop.
Save johsjohsjohs/69a65814281d1d47f0c72d3500ece65c to your computer and use it in GitHub Desktop.
This is a patch for sfeed_curses that makes the L key also open panel
keyright:
case 'l':
if (selpane == PaneFeeds && panes[selpane].nrows)
feed_open_selected(&panes[selpane]);
else if (selpane == PaneItems && panes[selpane].nrows)
feed_pipe_selected_item(&panes[selpane]);
break;
case '\t':
selpane = selpane == PaneFeeds ? PaneItems : PaneFeeds;
if (layout == LayoutMonocle)
updategeom();
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment