diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-09 21:52:14 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-25 20:45:21 +0200 |
commit | 06f9083bdeb085b7b9de762fa029f6519e142dbe (patch) | |
tree | b3efca1e52e04f11a2087696d643d3ccfb84993d /src/keysrc | |
parent | 52d9a4726da51b78bc5ed445588efb17f5f4e637 (diff) |
Add support for zoom factor
Allows zooming in and out of pages by changing the size of all elements,
including font size, images and tables. The initial zoom is specified in
the "zoom_factor" option of dillorc.
Use the new shortcuts Ctrl+ and Ctrl- to adjust the zoom of the current
page and Ctrl 0 to reset it to 100%. When a new tab or window is opened,
the current zoom factor is inherited. Each tab retains its own zoom
factor.
Fixes: https://github.com/dillo-browser/dillo/issues/21
Diffstat (limited to 'src/keysrc')
-rw-r--r-- | src/keysrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -84,6 +84,14 @@ # "save" the current page. #(save has no default binding) +# "zoom-in" increases the zoom by 10% (make elements bigger). +#<ctrl>+ = zoom-in +#<ctrl>= = zoom-in +# "zoom-out" decreases the zoom by 10% (make elements smaller). +#<ctrl>- = zoom-out +# "zoom-reset" resets the zoom to 100%. +#<ctrl>0 = zoom-reset + #-------------------------------------------------------------------- # MOTION COMMANDS #-------------------------------------------------------------------- |