Skip to content

Commit

Permalink
Add aliases for list.focusUp and list.focusDown for notebooks (#1…
Browse files Browse the repository at this point in the history
…4042)

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
  • Loading branch information
jonah-iden authored Aug 14, 2024
1 parent a9345da commit 004e2b2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ export class NotebookActionsContribution implements CommandContribution, MenuCon
}
}
);
commands.registerCommand({ id: 'list.focusUp' }, {
execute: () => commands.executeCommand(NotebookCommands.CHANGE_SELECTED_CELL.id, CellChangeDirection.Up)
});
commands.registerCommand({ id: 'list.focusDown' }, {
execute: () => commands.executeCommand(NotebookCommands.CHANGE_SELECTED_CELL.id, CellChangeDirection.Down)
});

commands.registerCommand(NotebookCommands.CUT_SELECTED_CELL, this.editableCommandHandler(
() => {
Expand Down

0 comments on commit 004e2b2

Please sign in to comment.