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

programs.pistol.enable

Whether to enable file previewer for terminal file managers.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.pistol.package

The pistol package to use.

Type: null or package

Default:

pkgs.pistol

Declared by:

programs.pistol.associations

Associations written to the Pistol configuration at $XDG_CONFIG_HOME/pistol/pistol.conf.

Type: list of (submodule)

Default:

[ ]

Example:

[
  {
    command = "bat %pistol-filename%";
    mime = "application/json";
  }
  {
    command = "hexyl %pistol-filename%";
    mime = "application/*";
  }
  {
    command = "sh: bat --paging=never --color=always %pistol-filename% | head -8";
    fpath = ".*.md$";
  }
]

Declared by:

programs.pistol.associations.*.command

Preview command for files matched by this association.

Type: string

Declared by:

programs.pistol.associations.*.fpath

File path regex that this association should match.

Type: string

Default:

""

Declared by:

programs.pistol.associations.*.mime

Mime type regex that this association should match.

Type: string

Default:

""

Declared by: