summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-07-23 23:41:23 +0200
committerBert Münnich <ber.t@posteo.de>2014-07-23 23:41:23 +0200
commit9c92de858484b6bbe90252955bef5f77a80f3c45 (patch)
tree6cc5e92a83f29e3082848e41ee8bd981e80f3b3f /config.def.h
parent06164c29b759c3e21e79be03b285bdf3da6f5a25 (diff)
downloadnsxiv-9c92de858484b6bbe90252955bef5f77a80f3c45.tar.zst
Added support for multiple commands per key/button mapping; elegant fix for issue #150
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 5d1a6e2..2742e65 100644
--- a/config.def.h
+++ b/config.def.h
@@ -102,8 +102,10 @@ static const keymap_t keys[] = {
{ 0, XK_R, t_reload_all, (arg_t) None },
{ 0, XK_n, i_navigate, (arg_t) +1 },
+ { 0, XK_n, i_scroll_to_edge, (arg_t) (DIR_LEFT | DIR_UP) },
{ 0, XK_space, i_navigate, (arg_t) +1 },
{ 0, XK_p, i_navigate, (arg_t) -1 },
+ { 0, XK_p, i_scroll_to_edge, (arg_t) (DIR_LEFT | DIR_UP) },
{ 0, XK_BackSpace, i_navigate, (arg_t) -1 },
{ 0, XK_bracketright, i_navigate, (arg_t) +10 },
{ 0, XK_bracketleft, i_navigate, (arg_t) -10 },