Skip to content

feat(render): Add click-to-jump behavior on the context window - #676

Draft
bew wants to merge 2 commits into
nvim-treesitter:masterfrom
bew:jump-on-click
Draft

feat(render): Add click-to-jump behavior on the context window#676
bew wants to merge 2 commits into
nvim-treesitter:masterfrom
bew:jump-on-click

Conversation

@bew

@bew bew commented Aug 12, 2026

Copy link
Copy Markdown

Note

AI-disclosure: this was drafted with Claude Sonnet 4.6 in OpenCode
👉 I've reviewed, iterated & tested the code manually, it's working well for me!

This PR adds a new config field jump_on_click (default false) makes the context float focusable.
Clicking it maps the clicked float row back to its source line, pushing a jumplist entry first.

Closes #675

Opening as a draft PR for now to test it for a few days

bew and others added 2 commits August 12, 2026 13:14
New opt-in config field `jump_on_click` (default `false`) makes the
context float _shortly_ focusable, adding a <LeftRelease> mapping to
jump on the selected context line in the source window.

Closes nvim-treesitter#675
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.

Allow mouse click on context window to navigate to context line 🤔

1 participant