Skip to main content

EDITABLE_KEYBINDS

Constant EDITABLE_KEYBINDS 

Source
pub const EDITABLE_KEYBINDS: &[EditableSetting];
Expand description

What: Phase-2 set of editable keybind rows backed by keybinds.conf.

Inputs:

  • None.

Output:

  • Static slice of EditableSetting entries with file = ConfigFile::Keybinds.

Details:

  • Canonical key names match the parser in theme::settings::parse_keybinds.
  • Aliases mirror the alias sets the parser already accepts so existing user-edited files migrate to canonical names on save.
  • All entries reload via AppliesOnSave because crate::theme::settings reparses keybinds.conf and apply_settings_to_app_state copies prefs.keymap into app.keymap after each save.