Compare commits
No commits in common. "f05be01fba0113c324e0051b8997ef8c2ed90722" and "dcb2829e9b9792065918ba9903cd03051d36f89f" have entirely different histories.
f05be01fba
...
dcb2829e9b
4
NEWS
4
NEWS
@ -11,12 +11,8 @@ Unreleased
|
||||
|
||||
* X11: fixed rendering of overflowing, partially visible list items
|
||||
|
||||
* Added a "o" binding to select the currently playing song
|
||||
|
||||
* Added Readline-like M-u, M-l, M-c editor bindings
|
||||
|
||||
* Changed volume adjustment bindings to use +/- keys
|
||||
|
||||
|
||||
2.0.0 (2022-09-03)
|
||||
|
||||
|
@ -46,8 +46,6 @@ CENTER_CURSOR, Center the cursor
|
||||
MOVE_UP, Move selection up
|
||||
MOVE_DOWN, Move selection down
|
||||
|
||||
GOTO_PLAYING, Go to playing song
|
||||
|
||||
GOTO_TOP, Go to top
|
||||
GOTO_BOTTOM, Go to bottom
|
||||
GOTO_ITEM_PREVIOUS, Go to previous item
|
||||
|
@ -117,8 +117,8 @@ as in the snippet above. To replace the default volume control bindings, use:
|
||||
|
||||
....
|
||||
normal = {
|
||||
"+" = "pulse-volume-up"
|
||||
"-" = "pulse-volume-down"
|
||||
"M-PageUp" = "pulse-volume-up"
|
||||
"M-PageDown" = "pulse-volume-down"
|
||||
}
|
||||
....
|
||||
|
||||
|
12
nncmpp.c
12
nncmpp.c
@ -3021,7 +3021,6 @@ g_normal_defaults[] =
|
||||
{ "C-PageUp", ACTION_TAB_PREVIOUS },
|
||||
{ "C-PageDown", ACTION_TAB_NEXT },
|
||||
|
||||
{ "o", ACTION_GOTO_PLAYING },
|
||||
{ "Home", ACTION_GOTO_TOP },
|
||||
{ "End", ACTION_GOTO_BOTTOM },
|
||||
{ "M-<", ACTION_GOTO_TOP },
|
||||
@ -3073,8 +3072,8 @@ g_normal_defaults[] =
|
||||
{ "Space", ACTION_MPD_TOGGLE },
|
||||
{ "C-Space", ACTION_MPD_STOP },
|
||||
{ "u", ACTION_MPD_UPDATE_DB },
|
||||
{ "+", ACTION_MPD_VOLUME_UP },
|
||||
{ "-", ACTION_MPD_VOLUME_DOWN },
|
||||
{ "M-PageUp", ACTION_MPD_VOLUME_UP },
|
||||
{ "M-PageDown", ACTION_MPD_VOLUME_DOWN },
|
||||
},
|
||||
g_editor_defaults[] =
|
||||
{
|
||||
@ -3344,13 +3343,6 @@ current_tab_on_action (enum action action)
|
||||
switch (action)
|
||||
{
|
||||
const char *id;
|
||||
case ACTION_GOTO_PLAYING:
|
||||
if (g.song < 0 || (size_t) g.song >= tab->item_count)
|
||||
return false;
|
||||
|
||||
tab->item_selected = g.song;
|
||||
app_ensure_selection_visible ();
|
||||
return true;
|
||||
case ACTION_MOVE_UP:
|
||||
return current_tab_move_selection (-1);
|
||||
case ACTION_MOVE_DOWN:
|
||||
|
Loading…
x
Reference in New Issue
Block a user