1 unstable release

0.1.0 Mar 15, 2023

#293 in Text editors

BSD-3-Clause

6KB
106 lines

Fold ASCII trees in Vim

Supported trees

  • systemctl status
  • tree
  • cargo tree

Install

Install the rust toolchain and run:

cargo install vim-foldtree

Copy foldtree.vim into your Vim's plugin directory ~/.vim/plugin.

Usage

Edit the tree graph into a Vim buffer and run :FoldTree.

Or use a pipeline like this:

$ systemctl status | vim -c FoldTree -R -

Dependencies

~2.3–3.5MB
~56K SLoC