zathura: add documentation for mode-specific mappings (#3797)

This commit is contained in:
Gaétan Lepage 2023-03-22 10:50:13 +01:00 committed by GitHub
parent 486ba3de4e
commit c6a7bc90ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,10 +58,14 @@ in {
<manvolnum>5</manvolnum> <manvolnum>5</manvolnum>
</citerefentry> </citerefentry>
for the full list of possible mappings. for the full list of possible mappings.
You can create a mode-specific mapping by specifying the mode before the key:
<literal>"[normal] &lt;C-b&gt;" = "scroll left";</literal>
''; '';
example = { example = {
D = "toggle_page_mode"; D = "toggle_page_mode";
"<Right>" = "navigate next"; "<Right>" = "navigate next";
"[fullscreen] <C-i>" = "zoom in";
}; };
}; };