Update the shortcut functions list in documentation

Also alphabetize the shortcut functions declarations in code, to make it
easier to keep the documentation and code in sync.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Benoît Knecht 2012-12-08 17:00:26 +01:00 committed by Sebastian Ramacher
parent 5e53580808
commit 7982efde00
2 changed files with 5 additions and 5 deletions

View File

@ -384,11 +384,11 @@ 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, "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);
girara_shortcut_mapping_add(gsession, "jumplist", sc_jumplist);
girara_shortcut_mapping_add(gsession, "navigate", sc_navigate);
girara_shortcut_mapping_add(gsession, "navigate_index", sc_navigate_index);
girara_shortcut_mapping_add(gsession, "print", sc_print);
girara_shortcut_mapping_add(gsession, "quit", sc_quit);
girara_shortcut_mapping_add(gsession, "recolor", sc_recolor);

View File

@ -207,17 +207,17 @@ The following shortcut functions can be mapped:
change_mode Change current mode
display_link Display link target
follow Follow a link
focus_inputbar Focus inputbar
goto Go to a certain page
index_navigate Navigate through the index
jumplist Move forwards/backwards in the jumplist
navigate Navigate to the next/previous page
navigate_index Navigate through the index
print Show the print dialog
quit Quit zathura
recolor Recolor the pages
reload Reload the document
rotate Rotate the page
scroll Scroll
search Search next/previous item
set Set an option
toggle_fullscreen Toggle fullscreen
toggle_index Show or hide index
toggle_inputbar Show or hide inputbar