reworked navigate.
[surf.git] / config.h
index e637967..6c13e86 100644 (file)
--- a/config.h
+++ b/config.h
@@ -33,8 +33,8 @@ static Key general_keys[] = {
     { GDK_CONTROL_MASK,     GDK_0,      zoompage,       {.f = +1.0 },   TRUE },
     { GDK_CONTROL_MASK,     GDK_n,      searchtext,     {.b = TRUE},    TRUE },
     { GDK_CONTROL_MASK,     GDK_N,      searchtext,     {.b = FALSE},   TRUE },
-    { GDK_CONTROL_MASK,     GDK_h,      navigate,       {.b = TRUE},    TRUE },
-    { GDK_CONTROL_MASK,     GDK_l,      navigate,       {.b = FALSE},   TRUE },
+    { GDK_CONTROL_MASK,     GDK_l,      navigate,       {.i = +1},      TRUE },
+    { GDK_CONTROL_MASK,     GDK_h,      navigate,       {.i = -1},      TRUE },
     { 0,                    GDK_Escape, stop,           {0},            TRUE },
 };