• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 24013549295
90%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2026 12:10AM UTC
Jobs 1
Files 17
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Apr 2026 12:09AM UTC coverage: 92.07% (+0.05%) from 92.017%
24013549295

push

github

web-flow
Add custom keybindings support (#31)

* feat: create keymap package with types, defaults, and action resolution

Add keymap/ package that defines Action constants for all ~30 mappable
actions, Keymap struct with Resolve/KeysFor/HelpSections methods, and
Default() constructor with all standard key bindings. Tests verify
bindings match bubbletea's actual KeyMsg.String() output.

* feat: add keybindings file parser with map/unmap support and key normalization

* feat: add keymap Dump method for writing effective bindings to writer

* feat: wire keymap into Model and CLI with --keys and --dump-keys flags

* feat: refactor handleKey and handleViewToggle to use keymap actions

* feat: refactor handleDiffNav to use keymap actions

* feat: refactor handleTreeNav and handleTOCNav to use keymap actions

* feat: dynamic help overlay rendered from keymap bindings

* feat: acceptance tests verifying all keybinding criteria

* feat: update documentation for custom keybindings

* fix: address Copilot review findings

Update docs to reflect that help toggle is remappable via ActionHelp,
fix N key description in README, improve parse warning log message.

414 of 438 new or added lines in 4 files covered. (94.52%)

3611 of 3922 relevant lines covered (92.07%)

493.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
51.06
0.82% cmd/revdiff/main.go
9
96.1
keymap/keymap.go
2
96.91
0.15% ui/model.go
Jobs
ID Job ID Ran Files Coverage
1 24013549295.1 06 Apr 2026 12:10AM UTC 17
92.07
GitHub Action Run
Source Files on build 24013549295
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bdf54414 on github
  • Prev Build on master (#24012592570)
  • Next Build on master (#24017808398)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc