using Gtk 4.0; ShortcutsWindow window_shortcuts { hide-on-close: true; modal: true; ShortcutsSection { section-name: "shortcuts"; ShortcutsGroup { title: _("Tabs"); ShortcutsShortcut { title: _("Open tab"); accelerator: "T"; } ShortcutsShortcut { title: _("Close tab"); accelerator: "W"; } ShortcutsShortcut { title: _("Switch to the next tab"); accelerator: "Page_Down Tab"; } ShortcutsShortcut { title: _("Switch to the previous tab"); accelerator: "Page_Up Tab"; } ShortcutsShortcut { title: _("Switch to the first tab"); accelerator: "Home"; } ShortcutsShortcut { title: _("Switch to the last tab"); accelerator: "End"; } ShortcutsShortcut { title: _("View all open tabs"); accelerator: "o"; } ShortcutsShortcut { title: _("Move current tab backward"); accelerator: "Page_Up"; } ShortcutsShortcut { title: _("Move current tab forward"); accelerator: "Page_Down"; } ShortcutsShortcut { title: _("Move current tab at the start"); accelerator: "Home"; } ShortcutsShortcut { title: _("Move current tab at the end"); accelerator: "End"; } ShortcutsShortcut { title: _("Switch to tabs 1⋯10"); accelerator: "1...0"; } } ShortcutsGroup { title: _("Navigation"); ShortcutsShortcut { title: _("Go back to the previous page"); accelerator: "Left"; } ShortcutsShortcut { title: _("Go forward to the next page"); accelerator: "Right"; } ShortcutsShortcut { title: _("Focus global search"); accelerator: "K"; } ShortcutsShortcut { title: _("Find in page"); accelerator: "F"; } ShortcutsShortcut { title: _("Find next match"); accelerator: "G"; } ShortcutsShortcut { title: _("Find previous match"); accelerator: "G"; } ShortcutsShortcut { title: _("Focus URL bar"); accelerator: "L"; } ShortcutsShortcut { shortcut-type: gesture_two_finger_swipe_right; title: _("Go back to the previous page"); } ShortcutsShortcut { shortcut-type: gesture_two_finger_swipe_left; title: _("Go forward to the next page"); } } ShortcutsGroup { title: _("Zoom"); ShortcutsShortcut { title: _("Zoom in"); accelerator: "plus"; } ShortcutsShortcut { title: _("Zoom out"); accelerator: "minus"; } ShortcutsShortcut { title: _("Reset zoom"); accelerator: "0"; } } ShortcutsGroup { title: _("General"); ShortcutsShortcut { title: _("Show sidebar"); accelerator: "F9"; } ShortcutsShortcut { title: _("Shortcuts"); accelerator: "question"; } } } }