Skip to content

lilydjwg/vim-foldtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 -

Releases

No releases published

Packages