Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sandwich

URL: https://github.com/machakann/vim-sandwich/

Maintainers: Gaetan Lepage


sandwich.vim is a plugin that makes it super easy to work with stuff that comes in pairs, like brackets, quotes, and even HTML or XML tags.


The settings option will not let you define the options starting with sandwich#. For those, you can directly use the globals option:

  globals."sandwich#magicchar#f#patterns" = [
    {
      header.__raw = "[[\<\%(\h\k*\.\)*\h\k*]]";
      bra = "(";
      ket = ")";
      footer = "";
    }
  ];

plugins.sandwich.enable

Whether to enable vim-sandwich.

Type: boolean

Default: false

Example: true

Declared by:

plugins.sandwich.package

The vim-sandwich package to use.

Type: package

Default: pkgs.vimPlugins.vim-sandwich

Declared by:

plugins.sandwich.autoLoad

Whether to automatically load vim-sandwich when neovim starts.

Type: boolean

Default: true

Example: false

Declared by: