mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 08:05:59 +01:00
Merge branch 'Louisvh-develop' into develop
This commit is contained in:
commit
b222aa4b05
3 changed files with 9 additions and 2 deletions
|
@ -307,6 +307,13 @@ The following shortcut functions can be mapped:
|
||||||
|
|
||||||
Zoom in or out.
|
Zoom in or out.
|
||||||
|
|
||||||
|
* ``mark_add``
|
||||||
|
Set a quickmark.
|
||||||
|
|
||||||
|
* ``mark_evaluate``
|
||||||
|
Go to a quickmark.
|
||||||
|
|
||||||
|
|
||||||
Pass arguments
|
Pass arguments
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
Some shortcut function require or have optional arguments which influence the
|
Some shortcut function require or have optional arguments which influence the
|
||||||
|
|
|
@ -466,6 +466,8 @@ config_load_default(zathura_t* zathura)
|
||||||
girara_shortcut_mapping_add(gsession, "goto", sc_goto);
|
girara_shortcut_mapping_add(gsession, "goto", sc_goto);
|
||||||
girara_shortcut_mapping_add(gsession, "jumplist", sc_jumplist);
|
girara_shortcut_mapping_add(gsession, "jumplist", sc_jumplist);
|
||||||
girara_shortcut_mapping_add(gsession, "bisect", sc_bisect);
|
girara_shortcut_mapping_add(gsession, "bisect", sc_bisect);
|
||||||
|
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", sc_navigate);
|
||||||
girara_shortcut_mapping_add(gsession, "navigate_index", sc_navigate_index);
|
girara_shortcut_mapping_add(gsession, "navigate_index", sc_navigate_index);
|
||||||
girara_shortcut_mapping_add(gsession, "print", sc_print);
|
girara_shortcut_mapping_add(gsession, "print", sc_print);
|
||||||
|
|
|
@ -114,12 +114,10 @@ init_zathura(const char* config_dir, const char* data_dir,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WITH_SYNCTEX
|
|
||||||
if (synctex_editor != NULL) {
|
if (synctex_editor != NULL) {
|
||||||
girara_setting_set(zathura->ui.session, "synctex-editor-command",
|
girara_setting_set(zathura->ui.session, "synctex-editor-command",
|
||||||
synctex_editor);
|
synctex_editor);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
return zathura;
|
return zathura;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue