Skip to content

feat(nvim): add branch changes picker#89

Merged
aguil merged 3 commits into
masterfrom
feat/nvim-branch-changes-picker
Jun 8, 2026
Merged

feat(nvim): add branch changes picker#89
aguil merged 3 commits into
masterfrom
feat/nvim-branch-changes-picker

Conversation

@aguil

@aguil aguil commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a VCS-aware Telescope picker for files changed on the current branch in jj and Git repositories.
  • Render branch-change entries like file results and preview per-file diffs, using delta when available.
  • Set the work profile AI terminal command to agent while keeping opencode elsewhere.

Test plan

  • nvim --headless '+lua require("custom.plugins.git")' +qa
  • Manually verified <leader>gb in a jj workspace shows changed files, opens truncated paths, and previews diffs.

Made with Cursor

aguil added 3 commits June 8, 2026 14:09
Use the agent terminal command for work profiles while keeping
opencode as the default elsewhere. This keeps shell behavior aligned
with profile-specific tooling.
Add a VCS-aware Telescope picker for files changed on the current
branch. It supports jj and Git repositories, detects common default
branches, and previews per-file diffs for branch review.
Pipe branch-change file previews through delta when available so the
Telescope preview matches the configured jj/git pager styling. Keep a
plain diff preview fallback for environments without delta.
@aguil aguil merged commit ca9567e into master Jun 8, 2026
1 check passed
@aguil aguil deleted the feat/nvim-branch-changes-picker branch June 8, 2026 20:12
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.

1 participant