Obsctl::Config::KeymapConfig
Inherits YAML::Serializable < Struct < Value < Object
Dashboard key bindings.
Part of the on-disk schema so a config written by the Rust reference loads here unchanged and survives a rewrite. The dashboard still resolves these four actions from its built-in bindings -- which are the defaults below -- so overriding them does not yet change what the keys do.
Constructors
new(quit : Array(String) = ["q", "ctrl+c"], command_palette : Array(String) = ["/", ":"], reload_config : Array(String) = ["r"], dump_config : Array(String) = ["D"])
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance methods
command_palette
dump_config
quit
reload_config