View keys: arrows turn the view, Ctrl+arrows pan, Ctrl+8 looks at the selection (#1541) (#1585)

Thanks @DuBearte.
This commit is contained in:
DuBearte authored and GitHub committed 2026-10-16 00:27:12 -04:00
1 parent 8f5073ff14
commit ac3a25fb5b
5 files changed
+151 -6

No files matched your search

+14
View File
@@ -31,6 +31,20 @@ pub const RESERVED: &[&str] = &[
"Ctrl+C",
"Ctrl+X",
"Ctrl+V",
// View keys (`navigation::view_key`).
"Left",
"Right",
"Up",
"Down",
"Shift+Left",
"Shift+Right",
"Shift+Up",
"Shift+Down",
"Ctrl+Left",
"Ctrl+Right",
"Ctrl+Up",
"Ctrl+Down",
"Ctrl+8",
];
#[derive(Default)]