vim-foldtree

Crates.iovim-foldtree
lib.rsvim-foldtree
version0.1.0
sourcesrc
created_at2023-03-15 07:08:25.195746
updated_at2023-03-15 07:08:25.195746
descriptionFold ASCII tree graphs in Vim
homepage
repositoryhttps://github.com/lilydjwg/vim-foldtree
max_upload_size
id810531
size8,844
Rust-publish (github:flatbuffers:rust-publish)

documentation

README

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 -
Commit count: 4

cargo fmt