Every list deserves a keyboard
Lists are where people spend most of their time in tools. They should be the first thing you can drive without a mouse.
1 min readInteraction
Open almost any productivity tool and count the lists: tasks, messages, files, people, pull requests. Most of the day happens in rows. Yet keyboard support usually arrives last, bolted onto a modal or hidden behind a shortcut sheet nobody reads.
I think it should arrive first.
Start with one cursor
The simplest useful model is a single, visible cursor that lives in the list. J and K move it. Enter opens. X selects. Esc always takes you one step back. That's it — four keys and people can stay on the keyboard for most of a session.
The important part is that the cursor is visible and honest. If the mouse hovers a row, the cursor moves there too. Two highlights on screen is one too many.
function onKeyDown(event: KeyboardEvent) {
if (event.key === "j") setIndex((i) => Math.min(i + 1, rows.length - 1));
if (event.key === "k") setIndex((i) => Math.max(i - 1, 0));
if (event.key === "Escape") setIndex(-1);
}
Make the shortcut the label
Shortcuts are learned where they're seen. Put the key next to the action in the menu, in the tooltip and in the empty state. After a week, people stop looking.
The best shortcut sheet is the interface itself, quietly repeating the keys until they stick.
Don't steal the page
Keyboard handling should be scoped. If a list has focus, it owns its keys; if a text field has focus, it doesn't. Global shortcuts are for navigation only, and they need a modifier.
None of this is new. It just keeps getting left for later, and later rarely comes.