summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-20 18:55:41 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-20 18:55:41 +0300
commit836fd7e585af15cc1ccb0d4f04586ffec28d2a3c (patch)
treea3bf07e7af7ffd884a38fce3d65f8c2243bc0615 /src/config.rs
parentbe66f33d2acde30d25794bcead991e5e7b7eaff8 (diff)
feat: add keybinding v2
refs #154 refs #201 refs #202 refs #219
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/config.rs b/src/config.rs
index 37ba5bbf..48ebb8f6 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -8,12 +8,14 @@ mod theme;
pub use self::{
io::{
- config_diagnostic_summary, config_dir, config_path, load_live_config, remove_section_key,
- state_dir, upsert_section_bool, upsert_section_value,
+ config_diagnostic_summary, config_dir, config_path, load_live_config,
+ remove_keybinding_config_sections, remove_section_key, state_dir, upsert_section_bool,
+ upsert_section_value,
},
keybinds::{
- format_key_combo, CommandKeybindConfig, CustomCommandAction, CustomCommandKeybind,
- Keybinds, LiveKeybindConfig,
+ format_key_combo, normalize_key_combo, terminal_key_matches_combo, ActionKeybinds,
+ BindingConfig, CommandKeybindConfig, CustomCommandAction, CustomCommandKeybind,
+ IndexedKeybind, Keybinds, LiveKeybindConfig,
},
model::{
validated_sidebar_bounds, AgentPanelScopeConfig, Config, ConfigReloadReport,
@@ -42,7 +44,7 @@ impl Config {
self.validated_keybinds().1
}
- /// Parsed keybinds for navigate mode actions.
+ /// Parsed keybinds for Herdr actions.
pub fn keybinds(&self) -> Keybinds {
self.validated_keybinds().3
}