Skip to content

[RFC] choose-files kitten #9263

@kovidgoyal

Description

@kovidgoyal

Hi all,

After some months of development, I am happy to announce the choose-files kitten
is now ready. This is a kitten that implements fuzzy finding for files, with
content previews for text files with syntax highlighting, animated images and videos
(needs ffmpeg installed), archives and ebooks (needs calibre >=8.16 installed).

You can easily select files with a few keystrokes and insert them into the
shell prompt or other terminal workflow. On Linux, you can even have your
non-terminal GUI programs use the kitten as a file open dialog, see desktop-ui for how to do that.

To test it out install a nightly build

Press ctrl+shift+p and then c to insert the selected file at your prompt, or run:

kitten choose-files

Slightly outdated documentation for the kitten is at
docs. The TLDR is type a few
letters from the file and press enter when your desired file is the topmost
match, or use the arrow keys to move around the list of matches. Press Tab to
switch into a directory if the topmost match is a directory and shift+tab to go
back up a directory level.

Enjoy and report any issues or suggestions for improvements here.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions