Skip to content

feat(diff): scroll line up/down when focused on tree - #140

Merged
dlvhdr merged 2 commits into
mainfrom
dlvhdr/single-line-scroll
Jun 19, 2026
Merged

feat(diff): scroll line up/down when focused on tree#140
dlvhdr merged 2 commits into
mainfrom
dlvhdr/single-line-scroll

Conversation

@dlvhdr

@dlvhdr dlvhdr commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

How Did You Test this Change?

Images/Videos

@dlvhdr
dlvhdr marked this pull request as ready for review June 19, 2026 13:05
@dlvhdr
dlvhdr merged commit 1f92077 into main Jun 19, 2026
3 checks passed
@dlvhdr
dlvhdr deleted the dlvhdr/single-line-scroll branch June 19, 2026 15:39
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Aug 11, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [dlvhdr/diffnav](https://github.com/dlvhdr/diffnav) | minor | `v0.11.0` → `v0.12.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>dlvhdr/diffnav (dlvhdr/diffnav)</summary>

### [`v0.12.0`](https://github.com/dlvhdr/diffnav/releases/tag/v0.12.0)

[Compare Source](dlvhdr/diffnav@v0.11.0...v0.12.0)

### Robust Diff Searching

I've integrated <https://github.com/robinovitch61/viewport> to enable searching in the diffview.
It supports regular, insensitive, regex and fuzzy search modes.

#### Changelog

##### New Features

- [`1f92077`](dlvhdr/diffnav@1f92077) feat(diff): scroll line up/down when focused on tree ([#&#8203;140](dlvhdr/diffnav#140))
- [`1de38e6`](dlvhdr/diffnav@1de38e6) feat(diffviewer): use viewport by robinovitch61 ([#&#8203;144](dlvhdr/diffnav#144))
- [`214ed73`](dlvhdr/diffnav@214ed73) feat: add ui.startFoldersOpenDepth config option ([#&#8203;123](dlvhdr/diffnav#123))
- [`4e7ddc6`](dlvhdr/diffnav@4e7ddc6) feat: scroll to bottom and top ([#&#8203;125](dlvhdr/diffnav#125))
- [`7934a39`](dlvhdr/diffnav@7934a39) feat: show file tree when showFileTree is false ([#&#8203;130](dlvhdr/diffnav#130))

##### Fixes

- [`5f77725`](dlvhdr/diffnav@5f77725) Resolve Git repo root from CWD when possible. ([#&#8203;118](dlvhdr/diffnav#118))
- [`cbd0e97`](dlvhdr/diffnav@cbd0e97) fix(diffviewer): wrap long lines through delta in side-by-side, mark clipped lines in unified (closes [#&#8203;99](dlvhdr/diffnav#99)) ([#&#8203;133](dlvhdr/diffnav#133))
- [`19b947d`](dlvhdr/diffnav@19b947d) fix(filetree): use forward-slash path separator for git diff paths ([#&#8203;121](dlvhdr/diffnav#121)) ([#&#8203;128](dlvhdr/diffnav#128))
- [`8c2de69`](dlvhdr/diffnav@8c2de69) fix: keys not handled in some cases ([#&#8203;136](dlvhdr/diffnav#136))
- [`a2722c2`](dlvhdr/diffnav@a2722c2) fix: pass non-unified-diff input through to stdout (closes [#&#8203;115](dlvhdr/diffnav#115)) ([#&#8203;132](dlvhdr/diffnav#132))
- [`d592537`](dlvhdr/diffnav@d592537) fix: sponsors ([#&#8203;134](dlvhdr/diffnav#134))

##### Chores

- [`e890e04`](dlvhdr/diffnav@e890e04) ci: tidy workflows ([#&#8203;137](dlvhdr/diffnav#137))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: keymaps for single-line scrolling

1 participant