feat(ui): add session history navigation, permission keys, and review shortcuts
mod+alt+arrows step through this window's session-open history (or between neighbouring tabs when session tabs are on), mod+k r renames the current session inline, and mod+k a toggles permission auto-accept. Pending permission cards respond to alt+enter / alt+shift+enter / alt+backspace with the keys printed on the buttons. The commit message box commits on mod+enter, alt+arrows step the diff review between changed files, and the command palette gains search-only commands for rare actions so the initial list stays short.
This commit is contained in:
@@ -51,6 +51,34 @@ const SHORTCUT_GROUPS = {
|
||||
customizable: true,
|
||||
settingsLabelKey: 'settings.openchamber.keyboardShortcuts.action.new_chat.label',
|
||||
},
|
||||
{
|
||||
id: 'switch_session_previous',
|
||||
defaultBinding: 'mod+alt+arrowleft',
|
||||
customizable: true,
|
||||
settingsLabelKey:
|
||||
'settings.openchamber.keyboardShortcuts.action.switch_session_previous.label',
|
||||
},
|
||||
{
|
||||
id: 'switch_session_next',
|
||||
defaultBinding: 'mod+alt+arrowright',
|
||||
customizable: true,
|
||||
settingsLabelKey:
|
||||
'settings.openchamber.keyboardShortcuts.action.switch_session_next.label',
|
||||
},
|
||||
{
|
||||
id: 'rename_current_session',
|
||||
defaultBinding: 'mod+k r',
|
||||
customizable: true,
|
||||
settingsLabelKey:
|
||||
'settings.openchamber.keyboardShortcuts.action.rename_current_session.label',
|
||||
},
|
||||
{
|
||||
id: 'toggle_permission_auto_accept',
|
||||
defaultBinding: 'mod+k a',
|
||||
customizable: true,
|
||||
settingsLabelKey:
|
||||
'settings.openchamber.keyboardShortcuts.action.toggle_permission_auto_accept.label',
|
||||
},
|
||||
{
|
||||
id: 'close_session_tab',
|
||||
defaultBinding: 'alt+w',
|
||||
|
||||
Reference in New Issue
Block a user