Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/swift-file-length-budget.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Format: max_lines<TAB>relative path
# Reduce counts as files shrink. CI fails if tracked files exceed this budget.
34427 CLI/cmux.swift
17908 Sources/AppDelegate.swift
16491 Sources/ContentView.swift
17922 Sources/AppDelegate.swift
16521 Sources/ContentView.swift
14224 Sources/TerminalController.swift
12917 Sources/Workspace.swift
12348 cmuxTests/AppDelegateShortcutRoutingTests.swift
Expand All @@ -22,7 +22,7 @@
5915 cmuxTests/TerminalAndGhosttyTests.swift
5573 cmuxTests/BrowserConfigTests.swift
4487 Sources/Panels/FilePreviewPanel.swift
4476 Sources/cmuxApp.swift
4483 Sources/cmuxApp.swift
4367 cmuxTests/BrowserPanelTests.swift
4121 Sources/BrowserWindowPortal.swift
3934 Sources/Feed/FeedPanelView.swift
Expand All @@ -35,7 +35,7 @@
3058 Sources/Update/UpdateTitlebarAccessory.swift
2876 cmuxTests/CMUXOpenCommandTests.swift
2875 Sources/SessionIndexView.swift
2606 Sources/KeyboardShortcutSettings.swift
2610 Sources/KeyboardShortcutSettings.swift
2563 Sources/Panels/CmuxWebView.swift
2546 cmuxTests/WorkspaceManualUnreadTests.swift
2524 cmuxTests/CommandPaletteSearchEngineTests.swift
Expand Down Expand Up @@ -85,7 +85,7 @@
1110 Sources/AppDelegate+CmuxSSHURL.swift
1093 cmuxUITests/BonsplitTabDragUITests.swift
1087 Packages/macOS/CmuxCommandPalette/Sources/CmuxCommandPalette/Search/CommandPaletteFuzzyMatcher.swift
1031 cmuxTests/WorkspaceGroupTests.swift
1044 cmuxTests/WorkspaceGroupTests.swift
1021 cmuxUITests/TerminalCmdClickUITests.swift
1009 cmuxTests/CmuxTopSnapshotScopeTests.swift
1006 cmuxTests/CmuxSSHURLRequestTests.swift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ extension ShortcutAction {
case .closeTab: return ShortcutStroke(key: "w", command: true)
case .closeOtherTabsInPane: return ShortcutStroke(key: "t", command: true, option: true)
case .closeWorkspace: return ShortcutStroke(key: "w", command: true, shift: true)
case .newWorkspaceGroup: return ShortcutStroke(key: "g", command: true, control: true)
case .groupSelectedWorkspaces: return ShortcutStroke(key: "g", command: true, shift: true)
case .toggleFocusedWorkspaceGroupCollapsed: return ShortcutStroke(key: ".", command: true, control: true)
case .reopenClosedBrowserPanel: return ShortcutStroke(key: "t", command: true, shift: true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public enum ShortcutAction: String, CaseIterable, Sendable, Hashable, SettingCod
case closeTab
case closeOtherTabsInPane
case closeWorkspace
/// Creates a new empty workspace group.
case newWorkspaceGroup
/// Groups the selected workspaces in the workspace list.
case groupSelectedWorkspaces
/// Toggles collapse for the group containing the focused workspace.
Expand Down Expand Up @@ -182,7 +184,7 @@ extension ShortcutAction {
.prevSidebarTab, .focusHistoryBack, .focusHistoryForward,
.selectWorkspaceByNumber, .renameTab, .renameWorkspace,
.editWorkspaceDescription, .closeTab, .closeOtherTabsInPane, .closeWorkspace,
.groupSelectedWorkspaces, .toggleFocusedWorkspaceGroupCollapsed,
.newWorkspaceGroup, .groupSelectedWorkspaces, .toggleFocusedWorkspaceGroupCollapsed,
.reopenClosedBrowserPanel, .newSurface, .toggleTerminalCopyMode,
.focusTextBoxInput, .attachTextBoxFile, .sendCtrlFToTerminal,
.clearScreenKeepScrollback:
Expand Down Expand Up @@ -362,6 +364,8 @@ extension ShortcutAction {
case .closeTab: return "Close Tab"
case .closeOtherTabsInPane: return "Close Other Tabs in Pane"
case .closeWorkspace: return "Close Workspace"
case .newWorkspaceGroup:
return String(localized: "shortcut.newWorkspaceGroup.label", defaultValue: "New Workspace Group")
case .groupSelectedWorkspaces:
return String(localized: "shortcut.groupSelectedWorkspaces.label", defaultValue: "Group Selected Workspaces")
case .toggleFocusedWorkspaceGroupCollapsed:
Expand Down
Loading
Loading