feat(navigation): jump to file at cursor in output window#395
Merged
Conversation
sudo-tee
reviewed
Jun 1, 2026
Owner
sudo-tee
left a comment
There was a problem hiding this comment.
I really like this idea.
Thanks for the PR.
I left a little comment about the jump function which I find a little complex.
Once the comment addressed it should be good to go
Contributor
|
I also have a PR related to this feature, but it's somewhat similar to the one about automatically jumping to sub-sessions. It doesn't seem to have much to do with the code changes in the current PR. I might be quite busy these days, but I may continue to add related features based on this in the future ? |
resolve_file_at_cursor parses markdown links, file:// URIs, action
lines, and diff hunks. jump_to_file_at_cursor opens the file in
state.last_code_win_before_opencode (winnr('#') fallback) using a
silent :buffer/:edit helper to avoid re-triggering autocmds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolve_file_at_cursor parses markdown links, file:// URIs, action
lines, and diff hunks. jump_to_file_at_cursor opens the file in
state.last_code_win_before_opencode (winnr('#') fallback) using a
silent :buffer/:edit helper to avoid re-triggering autocmds.