feat(f7): register showTrackChangesPreview command + keybinding, wire controller (#21)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ben Stull
2026-06-11 08:46:49 -07:00
parent 8bf4b17e4a
commit 1ab3cc5348
2 changed files with 30 additions and 1 deletions
+10
View File
@@ -83,6 +83,11 @@
"command": "cowriting.pinDiffBaseline",
"title": "Cowriting: Pin Diff Baseline to Now",
"category": "Cowriting"
},
{
"command": "cowriting.showTrackChangesPreview",
"title": "Cowriting: Open Track-Changes Preview",
"category": "Cowriting"
}
],
"menus": {
@@ -151,6 +156,11 @@
"command": "cowriting.toggleDiffView",
"key": "ctrl+alt+d",
"when": "editorTextFocus"
},
{
"command": "cowriting.showTrackChangesPreview",
"key": "ctrl+alt+r",
"when": "editorLangId == markdown"
}
]
},