-
Notifications
You must be signed in to change notification settings - Fork 1
Keyboard commands
Jeremy Laviole edited this page Jan 11, 2017
·
3 revisions
- Left, next slide.
- Right, previous slide.
- Escape, quit soby.
Current commands:
-
h
show/hide help. -
c
save a frame. -
l
load another presentation.
Experimental commands:
-
a
ands
start and stop autoload -> experimental. It updates the view if thesvg
file gets updated. -
r
force a new call tocustom_setup
-
g
call the java garbage collector (for debug mainly).
You can add a new command by adding a key_action
. key_action is a Hash and it contains letters and maps to an array containing the description of the key and a Proc object to call.
If you do not know what a Proc object is, you can just type code replacing { my_code }
.
@key_actions['e'] = ["description",
Proc.new { my_code }]