Skip to main content

Runtime

rt

You can access Yazi's runtime through rt to obtain startup parameters, terminal properties, user preferences, etc.

args

Command-line arguments passed by the user when launching Yazi.

Typert::Args

term

User's terminal emulator properties.

Typert::Term

mgr

User preferences under [mgr].

Typetable

plugin

User preferences under [plugin].

Typert::Plugin

preview

User preferences under [preview].

Typetable

tasks

User preferences under [tasks].

Typetable

th

You can access the user's theme and flavor configuration through th.

mgr

See [mgr].

Typetable

tabs

See [tabs].

Typetable

mode

See [mode].

Typetable

status

See [status].

Typetable

which

See [which].

Typetable

confirm

See [confirm].

Typetable

spot

See [spot].

Typetable

notify

See [notify].

Typetable

pick

See [pick].

Typetable

input

See [input].

Typetable

cmp

See [cmp].

Typetable

tasks

See [tasks].

Typetable

help

See [help].

Typetable

rt::Args

entries

TODO

cwd_file

TODO

chooser_file

TODO

rt::Term

User's terminal emulator properties.

light

Whether the terminal is in light mode.

Typeboolean

rt::Plugin

TODO