foldindent - indented text viewer with folding
Project description
foldindent - indented text viewer with folding
foldindent
is a terminal user interface (TUI) for viewing indented text files with the possibility to fold parts based on indentation.
foldindent
can view arbitrary text files.
foldindent
can be seen as pager dedicated to indented text data.
Each time lines are more indented than previous lines, a foldable point is added in the UI.
Samples
Sample: indented JSON data
Sample: indented python AST dump
(Source sample text generated with python3 -m ast samples/example.py
)
Keyboard usage
Enter
: fold/expand a nodeUp/Down
: navigate cursor one node above/below^
: jump to parent node
Install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
foldindent-0.3.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for foldindent-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64735086160aed3e808ad642baf96c8f48678d894dfbabfc2f292446c051c4fa |
|
MD5 | 103bfeb4f90417648a8d934e93409b5b |
|
BLAKE2b-256 | 835eef457bb419e723a744d361198e956b9bf49a3c8beeb4fbba42cc2f8d631f |