Something went wrong. Try again.
Fork of backnotprop/plannotator with reduced surface area
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647import { defineShortcutScope } from '../core';import { createShortcutScopeHook } from '../runtime';
export const reviewAllFilesDiffShortcuts = defineShortcutScope({ id: 'review-all-files-diff', title: 'All-Files Diff View', shortcuts: { toggleCollapse: { description: 'Collapse / expand current file', bindings: ['X'], section: 'All-Files View', hint: 'Available when the all-files diff panel is active.', displayOrder: 10, }, undoCollapse: { description: 'Undo last collapse', bindings: ['Z'], section: 'All-Files View', hint: 'Reopens the most recently auto-collapsed file (auto-collapse fires when toggling viewed).', displayOrder: 20, }, addFileComment: { description: 'Add file-scoped comment', bindings: ['C'], section: 'All-Files View', hint: 'Opens the file-scoped comment popover for the active file.', displayOrder: 30, }, nextFile: { description: 'Scroll to next expanded file', bindings: [']'], section: 'All-Files View', hint: 'All-files panel only.', displayOrder: 40, }, prevFile: { description: 'Scroll to previous expanded file', bindings: ['['], section: 'All-Files View', hint: 'All-files panel only.', displayOrder: 50, }, },});
export const useReviewAllFilesDiffShortcuts = createShortcutScopeHook(reviewAllFilesDiffShortcuts);