plugins.vimtex.settings

The configuration options for vimtex without the vimtex_ prefix.

For example, the following settings are equivialent to these :setglobal commands:

  • foo_bar = 1 -> :setglobal vimtex_foo_bar=1
  • hello = "world" -> :setglobal vimtex_hello="world"
  • some_toggle = true -> :setglobal vimtex_some_toggle
  • other_toggle = false -> :setglobal novimtex_other_toggle

Type: attribute set of anything

Default: { }

Example:

{
  compiler_method = "latexrun";
  toc_config = {
    split_pos = "vert topleft";
    split_width = 40;
  };
  view_method = "zathura";
}

Declared by:

plugins.vimtex.settings.view_method

Set the viewer method. By default, a generic viewer is used through the general view method (e.g. xdg-open on Linux).

Type: string

Default: "general"

Example: "zathura"

Declared by: