aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2021-09-12 20:13:13 +0200
committerBerke Kocaoğlu <berke.kocaoglu@metu.edu.tr>2021-09-16 21:55:31 +0200
commitca692ac4857bf696b75d8c06f8f75a099940cc59 (patch)
treefba3bec3c87debe0341798b609f93131fc20fef0 /config.def.h
parentf7557c55b5a87a51daba825ed3f6155eed179221 (diff)
downloadnsxiv-ca692ac4857bf696b75d8c06f8f75a099940cc59.tar.zst
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>
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
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 },