Commit 6c5d8c9b authored by Benoît Knecht's avatar Benoît Knecht Committed by Sebastian Ramacher

Declare missing shortcut functions and document them

"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").
Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <>
parent 7982efde
......@@ -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", sc_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", sc_toggle_fullscreen);
girara_shortcut_mapping_add(gsession, "toggle_index", sc_toggle_index);
girara_shortcut_mapping_add(gsession, "toggle_inputbar", girara_sc_toggle_inputbar);
girara_shortcut_mapping_add(gsession, "toggle_page_mode", sc_toggle_page_mode);
girara_shortcut_mapping_add(gsession, "toggle_statusbar", girara_sc_toggle_statusbar);
girara_shortcut_mapping_add(gsession, "zoom", sc_zoom);
......@@ -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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment