- Create src/keybindings.rs: Action enum (20 variants), KeyMap with Emacs/Vim/Windows presets, Vim normal/insert mode support - Create src/command_palette.rs: fuzzy-filterable modal with 9 built-in entries, arrow navigation, Enter to execute, Escape to close - Refactor handle_key() to dispatch through Action enum instead of hardcoded KeyCode matches — clean separation of concerns - dispatch_action() method shared by palette and key handler - show_help() renders keybinding reference for current preset - Ctrl+K opens palette, F1 shows help, /keys switches presets - 10 keybinding tests + 5 palette tests - 262 tests pass Sprint 4 of 7. Authored by TheArchitectit |
||
|---|---|---|
| .. | ||
| .claw/sessions | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||