Skip to content

Copy local file location from the preview panel#293

Open
jongio wants to merge 1 commit into
mainfrom
idea/copy-local-file-location
Open

Copy local file location from the preview panel#293
jongio wants to merge 1 commit into
mainfrom
idea/copy-local-file-location

Conversation

@jongio

@jongio jongio commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a preview shortcut to copy a repo-relative local file location
  • format single lines as path:line and ranges as path:start-end
  • document the new shortcut in the generated keybinding reference

Validation

  • go test ./internal/panels/preview ./internal/keybindings -count=1
  • go test ./... -count=1
  • go vet ./...
  • go build ./...
  • golangci-lint run ./internal/panels/preview ./internal/keybindings --timeout 5m
  • mage preflight: failed at lint because golangci-lint scanned the leftover sibling worktree .ideawt\diff-stats-footer after Windows kept temp files locked during cleanup

Closes #285

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jongio jongio self-assigned this Jul 8, 2026
@jongio jongio added the idea Feature idea from the idea pipeline label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idea Feature idea from the idea pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy local file location from the preview panel

1 participant