plugins.fzf-lua.keymaps

Keymaps for Fzf-Lua.

Type: attribute set of (string or (submodule))

Default: { }

Example:

{
  "<C-p>" = {
    action = "git_files";
    options = {
      desc = "Fzf-Lua Git Files";
      silent = true;
    };
    settings = {
      previewers = {
        cat = {
          cmd = "/nix/store/b1wvkjx96i3s7wblz38ya0zr8i93zbc5-coreutils-9.5/bin/cat";
        };
      };
      winopts = {
        height = 0.5;
      };
    };
  };
  "<leader>fg" = "live_grep";
}

Declared by:

plugins.fzf-lua.keymaps.<name>.action

The fzf-lua action to run

Type: string

Example: "git_files"

plugins.fzf-lua.keymaps.<name>.mode

One or several modes. Use the short-names ("n", "v", …). See :h map-modes to learn more.

Type: one of “c”, “i”, “!”, “l”, “n”, “”, “o”, “s”, “t”, “v”, “x” or list of (one of “c”, “i”, “!”, “l”, “n”, “”, “o”, “s”, “t”, “v”, “x”)

Default: "n"

Example:

[
  "n"
  "v"
]