From ca692ac4857bf696b75d8c06f8f75a099940cc59 Mon Sep 17 00:00:00 2001 From: N-R-K <79544946+N-R-K@users.noreply.github.com> Date: Mon, 13 Sep 2021 00:13:13 +0600 Subject: add new keybind, Ctrl-a to toggle animation (#33) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Co-authored-by: Berke Kocaoğlu --- config.def.h | 1 + sxiv.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 9e30640..dd8d44d 100644 --- a/config.def.h +++ b/config.def.h @@ -112,6 +112,7 @@ static const keymap_t keys[] = { { ControlMask, XK_n, i_navigate_frame, +1 }, { ControlMask, XK_p, i_navigate_frame, -1 }, { ControlMask, XK_space, i_toggle_animation, None }, + { ControlMask, XK_a, i_toggle_animation, None }, { 0, XK_h, i_scroll, DIR_LEFT }, { 0, XK_Left, i_scroll, DIR_LEFT }, { 0, XK_j, i_scroll, DIR_DOWN }, diff --git a/sxiv.1 b/sxiv.1 index bf8d5c3..e714ed6 100644 --- a/sxiv.1 +++ b/sxiv.1 @@ -262,7 +262,7 @@ Go .I count frames of a multi-frame image backward. .TP -.B Ctrl-Space +.BR Ctrl-a ", " Ctrl-Space Play/stop animations of multi-frame images. .TP Panning: -- cgit v1.2.3-54-g00ecf