diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 19:00:36 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 19:00:36 -0500 |
| commit | 4260058495ef4f3ba9754d0b56cecfdfb0aece0d (patch) | |
| tree | 34c2c449feee7d3d927efe950187fab8b1589420 /modules/diff-config.el | |
| parent | a9c731c59986401c8f2b88c40d14600c9f79ec82 (diff) | |
| download | dotemacs-4260058495ef4f3ba9754d0b56cecfdfb0aece0d.tar.gz dotemacs-4260058495ef4f3ba9754d0b56cecfdfb0aece0d.zip | |
refactor(dashboard): derive the navigator and keybindings from one launcher table
The 12 dashboard launchers were inlined twice (once as navigator icon buttons, once as dashboard-mode-map keybindings), so adding or reordering one meant editing both lists, and the icon-row order could drift from the key order.
I pulled them into a single cj/dashboard--launchers table of (KEY ICON-FN ICON-NAME LABEL TOOLTIP ACTION) tuples. cj/dashboard--navigator-rows chunks it four per row into the navigator buttons, and cj/dashboard--bind-launchers binds each key to its action. The icons and the keys now come from one place, with no behavior change: same icons, labels, order, and keys, locked by tests.
Diffstat (limited to 'modules/diff-config.el')
0 files changed, 0 insertions, 0 deletions
