"focus_inputbar" and "toggle_page_mode" were defined in code but not
declared as shortcut functions (and thus could not be mapped to
different keys by the user using "map").
 config.c        |    2 ++
 zathurarc.5.rst |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/config.c b/config.c
index 8ba4f71..1753594 100644
--- a/config.c
+++ b/config.c
@@ -384,6 +384,7 @@ config_load_default(zathura_t* zathura)
   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, "display_link",      sc_display_link);
+  girara_shortcut_mapping_add(gsession, "focus_inputbar",    
   girara_shortcut_mapping_add(gsession, "follow",            sc_follow);
   girara_shortcut_mapping_add(gsession, "goto",              sc_goto);
   girara_shortcut_mapping_add(gsession, "jumplist",          sc_jumplist);
@@ -399,6 +400,7 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_mapping_add(gsession, "toggle_fullscreen", 
   girara_shortcut_mapping_add(gsession, "toggle_index",      sc_toggle_index);
   girara_shortcut_mapping_add(gsession, "toggle_inputbar",   
+  girara_shortcut_mapping_add(gsession, "toggle_page_mode",  
   girara_shortcut_mapping_add(gsession, "toggle_statusbar",  
   girara_shortcut_mapping_add(gsession, "zoom",              sc_zoom);
diff --git a/zathurarc.5.rst b/zathurarc.5.rst
index 756874f..64c0446 100644
--- a/zathurarc.5.rst
+++ b/zathurarc.5.rst
@@ -206,6 +206,7 @@ The following shortcut functions can be mapped:
     adjust_window     Adjust page width
     change_mode       Change current mode
     display_link      Display link target
+    focus_inputbar    Focus inputbar
     follow            Follow a link
     goto              Go to a certain page
     jumplist          Move forwards/backwards in the jumplist
@@ -221,6 +222,7 @@ The following shortcut functions can be mapped:
     toggle_fullscreen Toggle fullscreen
     toggle_index      Show or hide index
     toggle_inputbar   Show or hide inputbar
+    toggle_page_mode  Toggle between one and multiple pages per row
     toggle_statusbar  Show or hide statusbar
     zoom              Zoom in or out

zathura mailing list

Reply via email to