mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 14:56:00 +01:00
Added quickmark functions to bindable shortcuts.
`mark_add` and `mark_evaluate` are now available as rebindable shortcuts. Also added an entry in the zathurarc.5 manpage.
This commit is contained in:
parent
ec615d562f
commit
9af0064fe2
2 changed files with 9 additions and 0 deletions
|
@ -307,6 +307,13 @@ The following shortcut functions can be mapped:
|
|||
|
||||
Zoom in or out.
|
||||
|
||||
* ``mark_add``
|
||||
Set a quickmark.
|
||||
|
||||
* ``mark_evaluate``
|
||||
Go to a quickmark.
|
||||
|
||||
|
||||
Pass arguments
|
||||
^^^^^^^^^^^^^^
|
||||
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, "jumplist", sc_jumplist);
|
||||
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_index", sc_navigate_index);
|
||||
girara_shortcut_mapping_add(gsession, "print", sc_print);
|
||||
|
|
Loading…
Reference in a new issue