Accepted ADR 0006 · 2026-11-08
#6. Vyom owns the vim keys; ganit keeps only its own, in Vayu's shared letters
#Context
ADR 5 gave ganit vim modes and a Space leader, with the engine (modes, counts, sequences, which-key strip, help, confirm, footer) inside ganit. Vayu then decided every tool gets vim keys with the same Space letters (Vyom ADR 8), and Vyom 0.7 took ganit's engine into the panel. Several of ganit's leader letters meant something else there: Space f was fullscreen (find, elsewhere), Space u picked units (toggles), Space s saved conversions (sort), Space m was memory (mark), Space k a kind (ask AI), and H/L changed the kind where every other tool switches tabs.
#Decision
ganit sets modal = True and keeps only data: its binds in ganit/vim.py, its v_<verb> actions, and the unit picker (Vyom shows it in the which-key slot; ganit's key() takes every key while it's open). The keys move to Vayu's letters:
- Tabs:
H/L(vim'sgt/gTkept),Space t c/Space t v. - Kinds:
[/], andSpace g <letter>jumps to one. Space u ffullscreen,Space vmemory (s, p, c),Space dclears (d ttape,d bbox,d dnewest saved,d aevery saved),Space a asaves a conversion,Space e f/e tpick a unit,Space m ppins a currency.- Calculate opens in INSERT (a sum at once); Convert opens in NORMAL, a form that a stray key doesn't change.
start_modein the config sets both. - An old key that moved says where it went, for one release.
#Consequences
- ganit loses about 250 lines (footer, which-key, help, confirm, mode code) and needs Vyom 0.7.
- Its keys are the same as every other Vyom tool's;
scripts/keybinds.pystill writes the annotations and README tables, now with the mode after the scope, and finds Vyom'skeys.py(CI clones Vyom). - Muscle memory for
Space f,Space u,Space s,Space m,Space kandH/Lchanges; the moved-key hints cover the first.