commit a1e28b9eb1c89a37d24ad50feb203f99504274b2
parent ee99eca5f9608d2b122555483cc413f49ef0399c
Author: Louis Burda <quent.burda@gmail.com>
Date: Sun, 20 Feb 2022 20:31:22 +0100
Added keybinds for seeking to front or back of tracks / tags
Diffstat:
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/tui.c b/src/tui.c
@@ -253,6 +253,12 @@ tag_pane_input(wint_t c)
case KEY_NPAGE:
listnav_update_sel(&tag_nav, tag_nav.sel + tag_nav.wlen / 2);
return 1;
+ case 'g':
+ listnav_update_sel(&tag_nav, 0);
+ break;
+ case 'G':
+ listnav_update_sel(&tag_nav, tag_nav.max - 1);
+ break;
}
return 0;
@@ -330,6 +336,12 @@ track_pane_input(wint_t c)
listnav_update_sel(&track_nav,
track_nav.sel + track_nav.wlen / 2);
return 1;
+ case 'g':
+ listnav_update_sel(&track_nav, 0);
+ break;
+ case 'G':
+ listnav_update_sel(&track_nav, track_nav.max - 1);
+ break;
}
return 0;