On 2012-12-08 17:00:26, Benoît Knecht wrote:
> Also alphabetize the shortcut functions declarations in code, to make it
> easier to keep the documentation and code in sync.
> ---
>  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

The mappings for set and focus_inputbar are definied in girara. But it's
probably better to overwrite the mapping for focus_inputbar with the
shortcut from zathura anyway.

Regards
-- 
Sebastian Ramacher
_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to