docs(guides): refresh video editor cheatsheet with I/O work-area shortcuts#824
Open
calcarazgre646 wants to merge 1 commit into
Open
Conversation
…tcuts The Preview Shortcuts section was missing the shortcuts shipped in heygen-com#710 and heygen-com#811: J/K/L shuttle, I/O work-area markers with A/E jumps, the Cmd/Ctrl+Scroll preview zoom-at-cursor, and undo/redo. The arrow-key entries were also wrong — they step by frames, not seconds. Reorganise the table into the same groups the in-app `⌨` panel uses (Playback, Work area, View, Application) and source each row from `usePlaybackKeyboard.ts`, `useAppHotkeys.ts`, and the `NLEPreview` wheel handler so the doc tracks what the Studio actually does. Mention that the loop respects the work area when in/out are set, per heygen-com#811. Closes heygen-com#812
Contributor
Author
|
Hi @miguel-heygen — apologies, I missed that #812 was already assigned to @O1Anas with your offer to merge their PR (I only checked the issue via |
miguel-heygen
approved these changes
May 14, 2026
|
thank you @calcarazgre646 ! the changes you made are better than I could've made 💯 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshes
docs/guides/video-editor-cheatsheet.mdxso the Preview Shortcuts section matches what's actually wired up in the Studio today. The single flat table is split into the same four groups the in-app⌨panel uses (Playback, Work area, View, Application), with each row traced to the source handler so the doc stays in sync with the code.New rows (previously undocumented)
J/K/L, including the "press again to shuttle faster" semantics fromusePlaybackKeyboard.ts.I/⇧I/O/⇧Oto set and clear in/out,A/Eto jump (with fallback to composition start / end when unset).Cmd/Ctrl+Scrollover the preview to zoom at the cursor (NLEPreview.tsxwheel handler).Cmd/Ctrl+Zundo andCmd/Ctrl+Shift+Z/Ctrl+Yredo, exposed by feat(studio): consolidate keyboard shortcuts into single handler + fixes alpha issues #710.Corrections to existing rows
Shift+Arrowsteps 10 frames — the previous "1 second" / "5 seconds" wording was wrong (seestepFrames(e.shiftKey ? -10 : -1)inusePlaybackKeyboard.ts).shouldIgnorePlaybackShortcutEventfor editable targets.Narrative additions
⌨panel (frame jump + live in/out readouts) as the discoverable home for these shortcuts.Closes #812.
Test plan
npx mint validate— success build validation passed.npx mint broken-links— no broken links found.npx tsx scripts/sync-schemas.ts --check— registry schemas in sync.usePlaybackKeyboard.ts,useAppHotkeys.ts,PlayerControls.tsx(SHORTCUT_SECTIONS),NLEPreview.tsx.Happy to adjust grouping, naming (e.g. "Work area" vs "Range"), or table density if the maintainers prefer a different style.