md-tui-0.4.0 is not a library.
Visit the last successful build:
md-tui-0.9.5
MD-TUI
Installation
Using cargo: cargo install md-tui --locked
Using AUR: yay -S md-tui-bin
Key binds
| Key | Action |
|---|---|
j |
Scroll down |
k |
Scroll up |
l |
Scroll one page down |
h |
Scroll one page up |
r |
Reload file |
f or / |
Search |
s |
Enter select link mode |
Enter |
Select. Depending on which mode it can: open file, select link, search |
Esc |
Go back to normal mode |
t |
Go back to files |
b |
Go back to previous file (file tree if no previous file) |
g |
Go to top of file |
G |
Go to bottom of the file |
d |
Go down half a page |
u |
Go up half a page |
q |
Quit the application |
Configuration
The program checks for the file ~/.config/mdt/config.toml at startup. The
following parameters and their defaults are written below. Setting color to ""
will not remove it, but leave it as its default. To remove colors, set it to
reset.
# General settings
= 80
# Inline styling
= "reset"
= "reset"
= "reset"
= "reset"
= "red"
= "#2A2A2A"
= "blue"
= "green"
= "darkgrey"
# Block styling
= "blue"
= "black"
= "#2A2A2A"
= "red" #Will change when tree-sitter gets implemented
= "#2A2A2A"
= "yellow"
= "reset"
# File tree
= "lightgreen"
= "lightgreen"
= "blue"
= "gray"
Contributions
Both PRs and issues are appreciated!
Versioning
Until 1.0.0 release, every minor increase adds new features. Patches fixes something that the program should support, but doesn't yet for some reason.