add new keybind, Ctrl-a to toggle animation (#33)
* add new keybind, Ctrl-a to toggle animation Closes: https://github.com/nsxiv/nsxiv/issues/27 * Format consistency This keeps in line with other actions that have multiple keybinds Co-authored-by: eylles <ed.ylles1997@gmail.com> Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
This commit is contained in:
parent
f7557c55b5
commit
ca692ac485
@ -112,6 +112,7 @@ static const keymap_t keys[] = {
|
|||||||
{ ControlMask, XK_n, i_navigate_frame, +1 },
|
{ ControlMask, XK_n, i_navigate_frame, +1 },
|
||||||
{ ControlMask, XK_p, i_navigate_frame, -1 },
|
{ ControlMask, XK_p, i_navigate_frame, -1 },
|
||||||
{ ControlMask, XK_space, i_toggle_animation, None },
|
{ ControlMask, XK_space, i_toggle_animation, None },
|
||||||
|
{ ControlMask, XK_a, i_toggle_animation, None },
|
||||||
{ 0, XK_h, i_scroll, DIR_LEFT },
|
{ 0, XK_h, i_scroll, DIR_LEFT },
|
||||||
{ 0, XK_Left, i_scroll, DIR_LEFT },
|
{ 0, XK_Left, i_scroll, DIR_LEFT },
|
||||||
{ 0, XK_j, i_scroll, DIR_DOWN },
|
{ 0, XK_j, i_scroll, DIR_DOWN },
|
||||||
|
2
sxiv.1
2
sxiv.1
@ -262,7 +262,7 @@ Go
|
|||||||
.I count
|
.I count
|
||||||
frames of a multi-frame image backward.
|
frames of a multi-frame image backward.
|
||||||
.TP
|
.TP
|
||||||
.B Ctrl-Space
|
.BR Ctrl-a ", " Ctrl-Space
|
||||||
Play/stop animations of multi-frame images.
|
Play/stop animations of multi-frame images.
|
||||||
.TP
|
.TP
|
||||||
Panning:
|
Panning:
|
||||||
|
Loading…
Reference in New Issue
Block a user