From 7982efde00d95f33fbe6770a9abef81dc4d16cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= Date: Sat, 8 Dec 2012 17:00:26 +0100 Subject: [PATCH] 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 --- config.c | 4 ++-- zathurarc.5.rst | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.c b/config.c index 73327ed..8ba4f71 100644 --- a/config.c +++ b/config.c @@ -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); diff --git a/zathurarc.5.rst b/zathurarc.5.rst index ff54c8f..756874f 100644 --- a/zathurarc.5.rst +++ b/zathurarc.5.rst @@ -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