Skip to main content

Module config

Module config 

Source

Structs§

Config
Main configuration struct
HistoryConfig
Configuration for history recording
HostConfig
Configuration for host identity
PreviewConfig
Configuration for what to show in the preview pane
RecallConfig
Configuration for the recall TUI
ShellConfig
Configuration for shell integration

Enums§

ConfigStatus
The strict answer to “what does pxh think of the config file?”, for diagnostics. Config::load() collapses all three into a usable Config (falling back to defaults); doctor needs to tell them apart.
KeymapMode
Keymap mode for navigation

Constants§

DEFAULT_CONFIG
Embedded default config template (repo root config.toml). Every key, commented out, at its default value. pxh config writes it when no config exists; template_parses_to_defaults keeps it honest.

Functions§

config_status
Strictly parse the config file at path – the same parser Config::load uses, so doctor can never call “valid” a file that load would reject.
default_ignore_patterns 🔒