adds nice git interface
This commit is contained in:
@@ -19,7 +19,10 @@ public enum ShortcutCatalog {
|
||||
ShortcutRow(keys: ["⌘", "↑↓"], label: "Move through a list"),
|
||||
ShortcutRow(keys: ["↵"], label: "Open the selected item"),
|
||||
ShortcutRow(keys: ["⌘", "←→"], label: "Column left or right"),
|
||||
ShortcutRow(keys: ["↑↓"], label: "Git or Explorer: move the row cursor"),
|
||||
ShortcutRow(keys: ["↑↓"], label: "Explorer: move the row cursor"),
|
||||
ShortcutRow(keys: ["⌘", "1"], label: "Explorer column on or off"),
|
||||
ShortcutRow(keys: ["⌘", "2"], label: "File column on or off"),
|
||||
ShortcutRow(keys: ["⌘", "3"], label: "Claude column on or off"),
|
||||
ShortcutRow(keys: ["⇧", "⌘", "O"], label: "Open a recent project"),
|
||||
ShortcutRow(keys: ["⌘", "O"], label: "Open a project folder"),
|
||||
ShortcutRow(keys: ["⇧", "⌘", "N"], label: "Open a new window"),
|
||||
@@ -30,9 +33,9 @@ public enum ShortcutCatalog {
|
||||
ShortcutRow(keys: ["⌘", "→"], label: "Pass the selection to the agent"),
|
||||
]),
|
||||
ShortcutGroup(title: "Git", rows: [
|
||||
ShortcutRow(keys: ["⌘", "G"], label: "Open or close the Git view"),
|
||||
ShortcutRow(keys: ["⌘", "C"], label: "Focus the commit message"),
|
||||
ShortcutRow(keys: ["⌘", "↵"], label: "Commit the staged files"),
|
||||
ShortcutRow(keys: ["⌘", "G"], label: "Source Control column on or off"),
|
||||
ShortcutRow(keys: ["⌘", "P"], label: "Push the current branch"),
|
||||
]),
|
||||
ShortcutGroup(title: "File", rows: [
|
||||
@@ -46,7 +49,7 @@ public enum ShortcutCatalog {
|
||||
ShortcutRow(keys: ["⌘", "+"], label: "Zoom in"),
|
||||
ShortcutRow(keys: ["⌘", "−"], label: "Zoom out"),
|
||||
ShortcutRow(keys: ["⌘", "0"], label: "Actual size"),
|
||||
ShortcutRow(keys: ["Esc"], label: "Close an overlay or a split view"),
|
||||
ShortcutRow(keys: ["Esc"], label: "Close an overlay, then the Git view"),
|
||||
]),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user