diff --git a/KEYS b/KEYS index a8e208b..5c3bf57 100644 --- a/KEYS +++ b/KEYS @@ -47,7 +47,8 @@ Ctrl-p - launch a command with the document path as an argument <,> - rotate [,] - decrease/increase page brightness Ctrl-g - interrupt search -Ctrl-+/- - zoom in/out +Ctrl-+ or Ctrl-= - zoom in +Ctrl-- - zoom out Ctrl-0 - fit page width and reset panning Ctrl-1 - fit page height Ctrl-2 - zoom to ... diff --git a/main.ml b/main.ml index c80a4cd..63a8fa0 100644 --- a/main.ml +++ b/main.ml @@ -4713,7 +4713,7 @@ let viewkeyboard key mask = enttext (s, "", Some (onhist state.hists.pat), textentry, ondone (key = 47), true) - | 43 | 0xffab when ctrl -> (* ctrl-+ *) + | 43 | 0xffab | 61 when ctrl -> (* ctrl-+ or ctrl-=*) let incr = if conf.zoom +. 0.01 > 0.1 then 0.1 else 0.01 in setzoom (conf.zoom +. incr)