From 801a28cdf48fd4b071a8fe29323c25c3a16f9b7b Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 8 Jun 2017 22:10:16 +0200 Subject: [PATCH] Move mappings to girara Signed-off-by: Sebastian Ramacher --- zathura/config.c | 52 +++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/zathura/config.c b/zathura/config.c index 5eea251..d3fe43a 100644 --- a/zathura/config.c +++ b/zathura/config.c @@ -462,34 +462,32 @@ config_load_default(zathura_t* zathura) girara_special_command_add(gsession, '?', cmd_search, INCREMENTAL_SEARCH, BACKWARD, NULL); /* add shortcut mappings */ - girara_shortcut_mapping_add(gsession, "abort", sc_abort); - girara_shortcut_mapping_add(gsession, "adjust_window", sc_adjust_window); - girara_shortcut_mapping_add(gsession, "bisect", sc_bisect); - 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, "exec", sc_exec); - 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); - girara_shortcut_mapping_add(gsession, "mark_add", sc_mark_add); - girara_shortcut_mapping_add(gsession, "mark_evaluate", sc_mark_evaluate); - 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); - girara_shortcut_mapping_add(gsession, "reload", sc_reload); - girara_shortcut_mapping_add(gsession, "rotate", sc_rotate); - girara_shortcut_mapping_add(gsession, "scroll", sc_scroll); - girara_shortcut_mapping_add(gsession, "search", sc_search); - 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, "abort", sc_abort); + girara_shortcut_mapping_add(gsession, "adjust_window", sc_adjust_window); + girara_shortcut_mapping_add(gsession, "bisect", sc_bisect); + 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, "exec", sc_exec); + 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); + girara_shortcut_mapping_add(gsession, "mark_add", sc_mark_add); + girara_shortcut_mapping_add(gsession, "mark_evaluate", sc_mark_evaluate); + 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); + girara_shortcut_mapping_add(gsession, "reload", sc_reload); + girara_shortcut_mapping_add(gsession, "rotate", sc_rotate); + girara_shortcut_mapping_add(gsession, "scroll", sc_scroll); + girara_shortcut_mapping_add(gsession, "search", sc_search); + 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_page_mode", sc_toggle_page_mode); girara_shortcut_mapping_add(gsession, "toggle_presentation", sc_toggle_presentation); - girara_shortcut_mapping_add(gsession, "toggle_statusbar", girara_sc_toggle_statusbar); - girara_shortcut_mapping_add(gsession, "zoom", sc_zoom); + girara_shortcut_mapping_add(gsession, "zoom", sc_zoom); /* add argument mappings */ girara_argument_mapping_add(gsession, "backward", BACKWARD);