vyom व्योम

Accepted ADR 0008 · 2026-11-08

#8. Vim keys in the panel: modes, a Space leader, the same letters in every tool

#Context

Every Vayu tool grew its own keys, and the same key came to mean different things: Ctrl+U unpaired a phone in doot, showed unnamed devices in setu and scrolled half a page in bhava; Ctrl+Backspace removed a device in setu and dismissed every notification in akashvani, even while you typed in the search box. Some keys were dangerous: on a card, GTK's Space pressed the focused button, so Space in the power menu locked the screen. ganit (its ADR 0005) and bhava had already built vim modes, each its own way; bhava did it by reaching into the panel's private widgets. The user asked for every tool to be vim-driven, with Space as the leader and keys that are easy to reason about.

#Decision

The panel owns vim keys, and a tool opts in with modal = True:

A tool that doesn't opt in keeps today's keys exactly, so the 14 tools move one at a time.

#Consequences

← All decisions · source