openbsd-ports/textproc/zathura/patches/patch-config_def_h

22 lines
1.8 KiB
Plaintext

$OpenBSD: patch-config_def_h,v 1.1 2012/02/19 20:55:33 edd Exp $
--- config.def.h.orig Fri Feb 17 11:57:19 2012
+++ config.def.h Fri Feb 17 11:57:24 2012
@@ -124,6 +124,8 @@ Shortcut shortcuts[] = {
{0, GDK_f, sc_follow, NORMAL, {0} },
{0, GDK_J, sc_navigate, NORMAL, { NEXT } },
{0, GDK_K, sc_navigate, NORMAL, { PREVIOUS } },
+ {0, GDK_Page_Down, sc_navigate, NORMAL, { NEXT } },
+ {0, GDK_Page_Up, sc_navigate, NORMAL, { PREVIOUS } },
{GDK_MOD1_MASK, GDK_Right, sc_navigate, NORMAL, { NEXT } },
{GDK_MOD1_MASK, GDK_Left, sc_navigate, NORMAL, { PREVIOUS } },
{0, GDK_Left, sc_navigate, FULLSCREEN, { PREVIOUS } },
@@ -133,6 +135,8 @@ Shortcut shortcuts[] = {
{0, GDK_space, sc_navigate, FULLSCREEN, { NEXT } },
{0, GDK_k, sc_navigate_index, INDEX, { UP } },
{0, GDK_j, sc_navigate_index, INDEX, { DOWN } },
+ {0, GDK_Up, sc_navigate_index, INDEX, { UP } },
+ {0, GDK_Down, sc_navigate_index, INDEX, { DOWN } },
{0, GDK_h, sc_navigate_index, INDEX, { COLLAPSE } },
{0, GDK_l, sc_navigate_index, INDEX, { EXPAND } },
{0, GDK_space, sc_navigate_index, INDEX, { SELECT } },