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
+2 −1
2 files changed
- M config.def.h +1 −0
- M sxiv.1 +1 −1
| @@ -112,6 +112,7 @@ static const keymap_t keys[] = { | |||
| 112 | 112 | { ControlMask, XK_n, i_navigate_frame, +1 }, | |
| 113 | 113 | { ControlMask, XK_p, i_navigate_frame, -1 }, | |
| 114 | 114 | { ControlMask, XK_space, i_toggle_animation, None }, | |
| 115 | + | { ControlMask, XK_a, i_toggle_animation, None }, | |
| 115 | 116 | { 0, XK_h, i_scroll, DIR_LEFT }, | |
| 116 | 117 | { 0, XK_Left, i_scroll, DIR_LEFT }, | |
| 117 | 118 | { 0, XK_j, i_scroll, DIR_DOWN }, | |
| @@ -262,7 +262,7 @@ Go | |||
| 262 | 262 | .I count | |
| 263 | 263 | frames of a multi-frame image backward. | |
| 264 | 264 | .TP | |
| 265 | − | .B Ctrl-Space | |
| 265 | + | .BR Ctrl-a ", " Ctrl-Space | |
| 266 | 266 | Play/stop animations of multi-frame images. | |
| 267 | 267 | .TP | |
| 268 | 268 | Panning: | |