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
Keybindings
left: collapse/go to parentright: expand/go to first childup: go updown: go downenter: toggle expand/collapse^: go to parentshift-left: collapse all childrenshift-right: expand all childrenshift-up: go to previous siblingshift-down: go to next sibling/: searchn: previous search resultN: next search resultq: quit
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file foldindent-0.5.0.tar.gz.
File metadata
- Download URL: foldindent-0.5.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae059fb1ac666327d05c39fd5e5b77f0abc8a68ebeae2afc6c418c4597f44d1d
|
|
| MD5 |
09febd80fadff9abcd3de55d2b6684fc
|
|
| BLAKE2b-256 |
12bf09b5dd298058202693932fee2ec9ba55ce09255ed8ae0be242fc8fa844b1
|
File details
Details for the file foldindent-0.5.0-py3-none-any.whl.
File metadata
- Download URL: foldindent-0.5.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23df0eb75e05aefe2d6d781dd8a367e80e0d0ceaf1e2379a0ee77cc11acc5c59
|
|
| MD5 |
6ef4f7d69711092081cb7dc7a4ee236d
|
|
| BLAKE2b-256 |
e2b2b040ac7672caf9ca15398481fc071ea045a37957f2a623575a27ab7793fa
|