Frangipanni - tool for converting text into trees

For example it can convert output of find into a nicely formatted tree (or JSON).

$ cd fzf.kak/
 k/p/fzf.kak $ fd . | frangipanni -breaks /
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
rc
    fzf.kak
    modules
        VCS
            fzf-bzr.kak
            fzf-git.kak
            fzf-hg.kak
            fzf-svn.kak
        fzf-buffer.kak
        fzf-cd.kak
        fzf-ctags.kak
        fzf-file.kak
        fzf-grep.kak
        fzf-project.kak
        fzf-search.kak
        fzf-vcs.kak
        sk-grep.kak

More examples in the readme.

3 Likes

it took me a good minute to understand why the structure is wrong, as there is no VCS/fzf entry in fzf.kak. But then I’ve understood that this is a way to format files with a common fzf- prefix. I wonder if this can be disabled. Will go read their readme now that’s I’ve figured it out :smiley:

Fixed :wink:

1 Like