Mapping a modechange to a key does not work
What I want
Press a key and switch to presentation mode. The key F5
should do this by default (and it does).
What I did
map [normal] p change_mode presentation
map [presentation p change_mode normal
Result
It does not happen anything, except for zathura not being responding to any further key presses. Mouse input, like scrolling, still works.
Consideration
I did the binding wrong. I also added map [presentation] h scroll up
to my ~/.config/zathura/zathurarc
and pressed F5
. I was now in presentation mode. Pressing h
scrolls up. Fine. Pressing p
results in not being able to do anything.
Fun Fact
Binding map [normal] p toggle_presentation
works like a charm, but it seems not to be documented, neither in zathura's manpage, nor in zathurarc's manpage.
Regards
hringriin
Edited by Joschka Köster