F6 and Shift-F6 move focus on from a field that keeps Tab

Documents and web pages take Tab for themselves; without another key a
keyboard user could not leave them.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-08 14:30:43 -04:00
1 parent 3fcbd6f139
commit 029632b1f4
2 files changed
+54

No files matched your search

+3
View File
@@ -79,6 +79,9 @@ fn setup(cx: &mut App) {
cx.bind_keys([
KeyBinding::new("tab", FocusNext, Some(FOCUS_CONTEXT)),
KeyBinding::new("shift-tab", FocusPrev, Some(FOCUS_CONTEXT)),
// Out of a field that keeps Tab, such as a document.
KeyBinding::new("f6", FocusNext, Some(FOCUS_CONTEXT)),
KeyBinding::new("shift-f6", FocusPrev, Some(FOCUS_CONTEXT)),
]);
forms::bind_keys(cx);
editor::bind_keys(cx);