adds schema view and schema generating command
This commit is contained in:
@@ -38,6 +38,10 @@ public enum ShortcutCatalog {
|
||||
ShortcutRow(keys: ["⌘", "↵"], label: "Commit the staged files"),
|
||||
ShortcutRow(keys: ["⌘", "P"], label: "Push the current branch"),
|
||||
]),
|
||||
ShortcutGroup(title: "Schema", rows: [
|
||||
ShortcutRow(keys: ["⌘", "D"], label: "Open or close Schema (Laravel apps)"),
|
||||
ShortcutRow(keys: ["↵"], label: "Table search: centre the first match"),
|
||||
]),
|
||||
ShortcutGroup(title: "File", rows: [
|
||||
ShortcutRow(keys: ["⌘", "S"], label: "Save this file"),
|
||||
ShortcutRow(keys: ["⌘", "M"], label: "Markdown: code or rendered preview"),
|
||||
@@ -49,12 +53,12 @@ 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, then the Git view"),
|
||||
ShortcutRow(keys: ["Esc"], label: "Close an overlay, then the Schema selection or view, then the Git view"),
|
||||
]),
|
||||
]
|
||||
}
|
||||
|
||||
/// `?`: the keyboard reference, grouped NAVIGATE / AGENT / GIT / FILE.
|
||||
/// `?`: the keyboard reference, grouped NAVIGATE / AGENT / GIT / SCHEMA / FILE.
|
||||
struct ShortcutsOverlay: View {
|
||||
var onClose: () -> Void
|
||||
|
||||
|
||||
Reference in New Issue
Block a user