Krolyxon
Commit ca692ac

Branches

Refs →

nsxivca692ac

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
Author
N-R-K
Date
2021-09-13 00:13 +0600
Committer
Berke Kocaoğlu · 2021-09-16 22:55 +0300
Parent
f7557c5
Commit
ca692ac4857bf696b75d8c06f8f75a099940cc59

+2 −1

2 files changed

  1. M config.def.h +1 −0
  2. M sxiv.1 +1 −1
M config.def.h View
@@ -112,6 +112,7 @@ static const keymap_t keys[] = {
112112 { ControlMask, XK_n, i_navigate_frame, +1 },
113113 { ControlMask, XK_p, i_navigate_frame, -1 },
114114 { ControlMask, XK_space, i_toggle_animation, None },
115+ { ControlMask, XK_a, i_toggle_animation, None },
115116 { 0, XK_h, i_scroll, DIR_LEFT },
116117 { 0, XK_Left, i_scroll, DIR_LEFT },
117118 { 0, XK_j, i_scroll, DIR_DOWN },
M sxiv.1 View
@@ -262,7 +262,7 @@ Go
262262 .I count
263263 frames of a multi-frame image backward.
264264 .TP
265−.B Ctrl-Space
265+.BR Ctrl-a ", " Ctrl-Space
266266 Play/stop animations of multi-frame images.
267267 .TP
268268 Panning: