Settings

Theme

Hop: CLI tool for jumping around worktrees

github.com

2 points by Syntaf · 1 comment

Reader

1 thread
SyntafOP

TL;DR `hop claude/57680` will cd you into the worktree for the branch.

I've wrote this tool so I can do things like `hop claude/57680 && vim index.ts` and quickly edit a file on a branch without having to ask claude to make small adjustments.

Found this pretty nice to work with when you have a lot of worktrees going and otherwise would need to be tracking down where to cd into a given worktree to find and edit a file on a given branch.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection