Skip to content

Type Editor


Type Editor / @type-editor/tables / input/arrow

input/arrow

Functions

FunctionDescription

arrow

Creates a command for arrow key navigation within tables.

When the cursor is within a cell selection, this moves the selection near the head cell. When at the edge of a cell, it navigates to the adjacent cell.

Example

typescript
// Create a command for moving right
const moveRight = arrow("horiz", 1);