diff --git a/README.md b/README.md index 6f24ebd..74c2ab5 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ to your work. Click anything to copy it back to your clipboard. | Switch/create section | Cmd+K | | Search | Cmd+F | | Focus composer | Cmd+N | +| Sync settings | Cmd+, | | Copy selection as numbered list | Shift+Cmd+C | | Close panel | Esc | diff --git a/Sources/Prompt/PanelView.swift b/Sources/Prompt/PanelView.swift index 6a34017..6a3ff3b 100644 --- a/Sources/Prompt/PanelView.swift +++ b/Sources/Prompt/PanelView.swift @@ -495,6 +495,10 @@ struct PanelView: View { .keyboardShortcut("k", modifiers: .command) Button("") { focusedField = .composer } .keyboardShortcut("n", modifiers: .command) + Button("") { + withAnimation(.easeInOut(duration: 0.15)) { showSync.toggle() } + } + .keyboardShortcut(",", modifiers: .command) Button("") { guard !selection.isEmpty else { return } store.copyAsList(ids: selection)