feat(config-toggle): drop Space, add vim h/l for value changes

Directional arrows fully cover value changes, so the Space cycle is
removed. Add h/l as vim-style aliases for ←/→ (matching the existing
j/k for up/down), keeping the whole keymap hjkl-consistent. Update the
in-panel hint, help text, docstrings, and offline docs accordingly.
This commit is contained in:
2026-06-11 03:10:50 -04:00
parent bddb068ec0
commit cfd4749e72
4 changed files with 15 additions and 31 deletions
+5 -6
View File
@@ -1236,15 +1236,14 @@ Add -i (interactive confirmation) to destructive commands:
regardless of the __fish_config_opinionated master state.
Navigation:
↑ ↓ / j k Move cursor
← → Set value directionally: OFF ← DEFAULT → ON (clamped)
Space Cycle through all states: ON → OFF → DEFAULT → ON (wraps)
↑ ↓ / k j Move cursor
← → / h l Set value: OFF ← DEFAULT → ON (clamped)
Tab Switch scope (Universal ↔ Session)
q / Escape Exit
Left/Right move one step along the OFFDEFAULTON scale and stop at the
ends; Space cycles through every state and wraps around. DEFAULT erases
the variable so the master switch / built-in default applies.
Left/Right (or vim-style h/l) move the highlighted value one step along
the OFFDEFAULTON scale and stop at the ends. DEFAULT erases the
variable so the master switch / built-in default applies.
Flags:
--help / -h Show usage.