mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 21:36:00 +01:00
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 <sebastian+dev@ramacher.at>
This commit is contained in:
parent
7982efde00
commit
6c5d8c9b5e
2 changed files with 4 additions and 0 deletions
2
config.c
2
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", 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue