18 Commits
Author SHA1 Message Date
nvrlandClaude Opus 5 e8634c17a2 fix: make the template workflow real, and the UI legible
Version Check / check-version (pull_request) Successful in 10s
The headline flow — fill a config from its template — did not work. Three
bugs, each individually enough to make the tool feel unfinished:

- `add_missing` was unreachable. `find_binding` returned the first match in
  a linear array and `edit_append` was also bound to `a`, 17 entries earlier.
  Bindings now resolve through one table built from the config, and
  `KeybindsConfig::conflicts()` reports any key bound twice instead of
  letting one silently shadow the other. `add_missing` moves to `<Space>`,
  with `A` to take every missing default at once.
- Item status was ignored on write. Every writer fell back to
  `template_value`, so "(missing)" keys landed in the output regardless and
  saving was close to a copy. Unaccepted entries are now omitted.
- Parse errors were swallowed, then the good file was overwritten. A
  malformed target opened as an empty editor and `:w` truncated it. Parse
  failures are now fatal, reported with context, before the TUI starts.

Also:

- Split "differs from the template" (ItemStatus::Overridden) from "you
  edited this" (ConfigItem::dirty). A real config differs from its example
  on nearly every line, so the old Modified flag painted the whole list
  orange and carried no signal.
- Splice template-only entries in at their natural position instead of
  appending them, so a missing nested key no longer strands itself at the
  bottom of the tree at depth 3.
- Preserve .env comments and blank lines across a save.
- Header naming the output file and the template it is compared against,
  plus missing/changed counts. Previously nothing on screen said which
  files were in play or where `:w` would write.
- `?` opens a two-column keybinding reference built from the user's own
  config, scrollable on short terminals. The status bar drops to a few
  contextual hints; the old one joined 11+ hints into an unwrapped line
  that truncated at 80 columns.
- Foldable groups, which the `+ ` prefix had always implied.
- Search covers values as well as keys, reports `match n/m`, and `Esc`
  restores the pre-search cursor.
- Quitting with unsaved changes is refused; added `:q!`, `:x`, `:w <path>`.
- Status messages expire after 4s instead of permanently replacing hints.
- Cancelling a rename on a just-created item removes it again.
- Editing a Number field with text demotes the type instead of failing
  obscurely at write time.
- Undo-tree branches are reachable via `g-`/`g+` and reported on undo.
- Poll instead of blocking, so resizes repaint; drop the unused mouse
  capture that was costing terminal text selection for nothing.
- `--format` accepts xml, ini and properties, which were already supported.

36 tests, up from 13.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C5mrbEFmwv2A4cdzbcSiS1
2026-09-05 05:01:39 +02:00
nvrl 50278821ca implemented adding new vars
Version Check / check-version (pull_request) Successful in 3s
2026-03-18 18:49:43 +01:00
nvrl e3510a96fb added rename 2026-03-18 18:38:35 +01:00
nvrl ca7ebc9563 implemented undotree with redo
Version Check / check-version (pull_request) Successful in 3s
2026-03-18 17:48:31 +01:00
nvrl 5056f8dd0a code style fixes and nesting fixes
Version Check / check-version (pull_request) Successful in 3s
2026-03-18 17:15:24 +01:00
nvrl 1d9342186a added undo + dynamic status bar
Version Check / check-version (pull_request) Successful in 3s
2026-03-17 14:33:26 +01:00
nvrl f6a84416e6 updated insert modes + fixed status bar help
Version Check / check-version (pull_request) Successful in 3s
2026-03-17 14:29:51 +01:00
nvrl f123f2d6df added dd remove
Version Check / check-version (pull_request) Successful in 3s
2026-03-17 13:12:22 +01:00
nvrl 94ff632b39 fixed string to int error 2026-03-17 13:09:22 +01:00
nvrl 7aa45974a7 fixed ui and themes for tree view + neovim plugin wrapper
Version Check / check-version (pull_request) Successful in 4s
2026-03-17 12:23:10 +01:00
nvrl 0ce858da5c fixed transparent defaulting to true 2026-03-17 09:30:33 +01:00
nvrl 0c217c5129 added search functionality 2026-03-17 09:24:58 +01:00
nvrl 68cd6543b3 fixed long nested vars in the ui 2026-03-17 09:15:21 +01:00
nvrl e72fdd9fcb added documentation 2026-03-16 17:55:10 +01:00
nvrl 7aa12f1a31 added theme configuration
Version Check / check-version (pull_request) Successful in 3s
2026-03-16 17:47:01 +01:00
nvrl a274938368 rename + final ui design
Version Check / check-version (pull_request) Successful in 2s
2026-03-16 17:41:22 +01:00
nvrl 253c69363d added yaml,json + configurable keys 2026-03-16 17:36:04 +01:00
nvrl daffc65039 init 2026-03-16 15:46:24 +01:00