plugins.zen-mode.settings.window.backdrop

Shade the backdrop of the Zen window. Set to 1 to keep the same as Normal.

Plugin default: 0.95

Type: null or integer or floating point number between 0.0 and 1.0 (both inclusive)

Default: null

Declared by:

plugins.zen-mode.settings.window.height

Height of the Zen window.

Can be:

  • an absolute number of cells when > 1
  • a percentage of the width / height of the editor when <= 1
  • a function that returns the width or the height

Plugin default: 1

Type: null or positive integer, meaning >0, or integer or floating point number between 0.0 and 1.0 (both inclusive) or raw lua code

Default: null

Declared by:

plugins.zen-mode.settings.window.options

By default, no options are changed for the Zen window. You can set any vim.wo option here.

Example:

  {
    signcolumn = "no";
    number = false;
    relativenumber = false;
    cursorline = false;
    cursorcolumn = false;
    foldcolumn = "0";
    list = false;
  }

Plugin default: {}

Type: null or (attribute set of (anything or raw lua code))

Default: null

Declared by:

plugins.zen-mode.settings.window.width

Width of the zen window.

Can be:

  • an absolute number of cells when > 1
  • a percentage of the width / height of the editor when <= 1
  • a function that returns the width or the height

Plugin default: 120

Type: null or positive integer, meaning >0, or integer or floating point number between 0.0 and 1.0 (both inclusive) or raw lua code

Default: null

Declared by: