added search functionality

This commit is contained in:
2026-03-17 09:24:58 +01:00
parent 7b2217886c
commit 0c217c5129
6 changed files with 114 additions and 2 deletions

View File

@@ -98,6 +98,9 @@ pub struct KeybindsConfig {
pub save: String,
pub quit: String,
pub normal_mode: String,
pub search: String,
pub next_match: String,
pub previous_match: String,
}
impl Default for KeybindsConfig {
@@ -109,6 +112,9 @@ impl Default for KeybindsConfig {
save: ":w".to_string(),
quit: ":q".to_string(),
normal_mode: "Esc".to_string(),
search: "/".to_string(),
next_match: "n".to_string(),
previous_match: "N".to_string(),
}
}
}