Module config

Source

Re-exportsยง

pub use crate::config::bindings::Action;
pub use crate::config::bindings::BindingKey;
pub use crate::config::bindings::BindingMode;
pub use crate::config::bindings::MouseAction;
pub use crate::config::bindings::SearchAction;
pub use crate::config::bindings::ViAction;
pub use crate::config::ui_config::UiConfig;

Modulesยง

bell
bindings ๐Ÿ”’
color
cursor
debug
font
general
Miscellaneous configuration options.
monitor
mouse ๐Ÿ”’
scrolling
selection
serde_utils
Serde helpers.
terminal
ui_config
window

Enumsยง

Error
Errors occurring during config loading.

Constantsยง

IMPORT_RECURSION_LIMIT
Maximum number of depth for the configuration file imports.

Functionsยง

after_loading ๐Ÿ”’
Modifications after the UiConfig object is created.
deserialize_config
Deserialize a configuration file.
imports
Get all import paths for a configuration.
installed_config
Get the location of the first found default config file paths according to the following order:
load
Load the configuration file.
load_from ๐Ÿ”’
Load configuration file and log errors.
load_imports ๐Ÿ”’
Load all referenced configuration files.
normalize_import
Normalize import paths.
parse_config ๐Ÿ”’
Deserialize all configuration files as generic Value.
prune_yaml_nulls ๐Ÿ”’
Prune the nulls from the YAML to ensure TOML compatibility.
read_config ๐Ÿ”’
Deserialize configuration file from path.
reload
Attempt to reload the configuration file.

Type Aliasesยง

Result
Result from config loading.