import { useTranslation } from "react-i18next"; import { tabJumpHotkeyKeys } from "@/lib/tab-jump-hotkey"; /** Shortcuts the shell handles itself; they cannot be rebound. */ export function fixedShortcuts(): Array<{ keys: string[]; labelKey: string }> { return [ { keys: ["Ctrl", "Shift", "\\"], labelKey: "splitRight" }, { keys: ["Ctrl", "Shift", "-"], labelKey: "splitDown" }, { keys: ["Ctrl", "Shift", "Enter"], labelKey: "zoomPane" }, { keys: ["Alt", "↑↓←→"], labelKey: "navigatePane" }, { keys: ["Ctrl", "Shift", "]"], labelKey: "nextTab" }, { keys: ["Ctrl", "Shift", "["], labelKey: "previousTab" }, { keys: tabJumpHotkeyKeys(), labelKey: "jumpTab" }, { keys: ["Ctrl", "Shift", "E"], labelKey: "previousView" }, { keys: ["Ctrl", "Shift", "F"], labelKey: "fullscreen" }, ]; } export function FixedShortcutsList() { const { t } = useTranslation(); return (