Selecting files, fast

Configuration

You can configure various aspects of the kitten’s operation by creating a choose-files.conf in your kitty config folder. See below for the supported configuration directives.

Source code for choose_files

The source code for this kitten is available on GitHub.

Command Line Interface

kitten choose_files [options] [directory to start choosing files in]

Run the kitty terminal emulator. You can also specify the program to run inside kitty as normal arguments following the options. For example: kitty --hold sh -c “echo hello, world”

For comprehensive documentation for kitty, please see: https://sw.kovidgoyal.net/kitty/

Options

--override <OVERRIDE>, -o <OVERRIDE>

Override individual configuration options, can be specified multiple times. Syntax: name=value.

--config <CONFIG>

Specify a path to the configuration file(s) to use. All configuration files are merged onto the builtin diff.conf, overriding the builtin values. This option can be specified multiple times to read multiple configuration files in sequence, which are merged. Use the special value NONE to not load any config file.

If this option is not specified, config files are searched for in the order: $XDG_CONFIG_HOME/kitty/diff.conf, ~/.config/kitty/diff.conf, $XDG_CONFIG_DIRS/kitty/diff.conf. The first one that exists is used as the config file.

If the environment variable KITTY_CONFIG_DIRECTORY is specified, that directory is always used and the above searching does not happen.

If /etc/xdg/kitty/diff.conf exists, it is merged before (i.e. with lower priority) than any user config files. It can be used to specify system-wide defaults for all users. You can use either - or /dev/stdin to read the config from STDIN.

--mode <MODE>

The type of object(s) to select Default: file Choices: dir, dir-for-files, dirs, file, files, save-dir, save-file

--suggested-save-file-name <SUGGESTED_SAVE_FILE_NAME>

A suggested name when picking a save file.

--suggested-save-file-path <SUGGESTED_SAVE_FILE_PATH>

Path to an existing file to use as the save file.