diff --git a/doc/DOCUMENTATION.md b/doc/DOCUMENTATION.md index e01f98dfa8f1..e7efd6d09d0e 100644 --- a/doc/DOCUMENTATION.md +++ b/doc/DOCUMENTATION.md @@ -84,7 +84,9 @@ - [Editing](#editing) - [Text manipulation commands](#text-manipulation-commands) - [Smartparens Strict mode](#smartparens-strict-mode) - - [Change font size](#change-font-size) + - [Zooming](#zooming) + - [Text](#text) + - [Frame](#frame) - [Increase/Decrease numbers](#increasedecrease-numbers) - [Spell checking](#spell-checking) - [Region selection](#region-selection) @@ -1286,19 +1288,39 @@ variable `dotspacemacs-smartparens-strict-mode` of you `~/.spacemacs`. (setq-default dotspacemacs-smartparens-strict-mode t) ``` -### Change font size +### Zooming + +#### Text The font size of the current buffer can be adjusted with the commands: -Key Binding | Description ----------------------|------------------------------------------------------------ -SPC x + | scale up the font and initiate the font scaling micro-state -SPC x - | scale down the font and initiate the font scaling micro-state -SPC x = | reset the font size (no scaling) and initiate the font scaling micro-state -+ | increase the font size -- | decrease the font size -= | reset the font size -Any other key | leave the font scaling micro-state +Key Binding | Description +-----------------------|------------------------------------------------------------ +SPC z x + | scale up the font and initiate the font scaling micro-state +SPC z x - | scale down the font and initiate the font scaling micro-state +SPC z x = | reset the font size (no scaling) and initiate the font scaling micro-state ++ | increase the font size +- | decrease the font size += | reset the font size +Any other key | leave the font scaling micro-state + +Note that _only_ the text of the current buffer is scaled, the other buffers, +the mode-line and the minibuffer are not affected. To zoom the whole content of +a frame use the `zoom frame` bindings (see next section). + +#### Frame + +You can zoom in and out the whole content of the frame with the commands: + +Key Binding | Description +-----------------------|------------------------------------------------------------ +SPC z f + | zoom in the frame content +SPC z f - | zoom out the frame content +SPC z f = | reset the frame content size ++ | zoom in +- | zoom out += | reset zoom +Any other key | leave the zoom frame micro-state ### Increase/Decrease numbers