thx

>From d93f241584263414a2938748369bc92152ce9f88 Mon Sep 17 00:00:00 2001
From: Jonas Hoersch <co...@online.de>
Date: Sun, 16 Sep 2012 16:14:28 +0200
Subject: [PATCH] add shortcut mappings for jumplist to make it configurable

---
 config.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config.c b/config.c
index 9f51025..3a8d42c 100644
--- a/config.c
+++ b/config.c
@@ -357,6 +357,7 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_mapping_add(gsession, "abort",             sc_abort);
   girara_shortcut_mapping_add(gsession, "adjust_window",     sc_adjust_window);
   girara_shortcut_mapping_add(gsession, "change_mode",       sc_change_mode);
+  girara_shortcut_mapping_add(gsession, "jumplist",          sc_jumplist);
   girara_shortcut_mapping_add(gsession, "follow",            sc_follow);
   girara_shortcut_mapping_add(gsession, "goto",              sc_goto);
   girara_shortcut_mapping_add(gsession, "navigate_index",    sc_navigate_index);
@@ -375,6 +376,7 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_mapping_add(gsession, "zoom",              sc_zoom);
 
   /* add argument mappings */
+  girara_argument_mapping_add(gsession, "backward",     BACKWARD);
   girara_argument_mapping_add(gsession, "bottom",       BOTTOM);
   girara_argument_mapping_add(gsession, "default",      DEFAULT);
   girara_argument_mapping_add(gsession, "collapse",     COLLAPSE);
@@ -382,6 +384,7 @@ config_load_default(zathura_t* zathura)
   girara_argument_mapping_add(gsession, "down",         DOWN);
   girara_argument_mapping_add(gsession, "expand",       EXPAND);
   girara_argument_mapping_add(gsession, "expand-all",   EXPAND_ALL);
+  girara_argument_mapping_add(gsession, "forward",      FORWARD);
   girara_argument_mapping_add(gsession, "full-down",    FULL_DOWN);
   girara_argument_mapping_add(gsession, "full-up",      FULL_UP);
   girara_argument_mapping_add(gsession, "half-down",    HALF_DOWN);
-- 
1.7.12

_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to