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

mini-snippets

URL: https://github.com/nvim-mini/mini.snippets/

Maintainers: Heitor Augusto

plugins.mini-snippets.enable

Whether to enable mini-snippets.

Type: boolean

Default: false

Example: true

Declared by:

plugins.mini-snippets.package

The mini-snippets package to use.

Type: package

Default: pkgs.vimPlugins.mini-snippets

Declared by:

plugins.mini-snippets.autoLoad

Whether to automatically load mini-snippets when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.mini-snippets.settings

Options provided to the require('mini.snippets').setup function.

Type: lua value

Default: { }

Example:

{
  expand = {
    insert = lib.nixvim.mkRaw "nil";
    match = lib.nixvim.mkRaw "nil";
    prepare = lib.nixvim.mkRaw "nil";
    select = lib.nixvim.mkRaw "nil";
  };
  mappings = {
    expand = "<C-j>";
    jump_next = "<C-l>";
    jump_prev = "<C-h>";
    stop = "<C-c>";
  };
  snippets = lib.nixvim.emptyTable;
}

Declared by: