15 — Shortcuts and address tricks
A couple of keys and a handful of memorable address patterns shorten most of your navigation.
Keyboard
| Key | Where | What it does |
|---|---|---|
S | Repository home | Focuses the code search box |
T | Repository code pages | Opens "go to file"; file names filter as you type |
The keys are specific to repository pages; they do nothing on explore or dashboard pages. While your cursor is in a text box they type normally.
Linking to a line
Open a file in source view (?display=source) and click a line number — the address becomes #L5 and that line is highlighted. For a range, write it by hand:
.../readme.md?display=source#L5-L9
Share that link and the other person sees exactly the same lines.
Address patterns
If your repository is https://forge.kabaforce.com/owner/project, append:
| Suffix | What you get |
|---|---|
/src/branch/main/folder | File list on any branch |
/raw/branch/main/file.md | The raw file — use it with curl in scripts |
/media/branch/main/image.png | An image or binary, served directly |
/commits/branch/main | The branch's commit history |
/blame/branch/main/file.md | Who last changed each line |
/compare/main...my-branch | Every difference between two branches or tags |
/archive/main.zip | A snapshot of the branch (.tar.gz also works) |
/issues?state=open | A filtered issue list |
/releases · /wiki · /activity | Releases, wiki, activity summary |
/search?q=word | Code search inside the repository |
Rather than writing filters by hand, set them in the interface and share what ends up in the address bar — it reopens the same view for everyone.
Small things that speed up the day
- Raw links are made for scripts:
curl -O https://forge.kabaforce.com/owner/project/raw/branch/main/setup.sh - Archive links are the shortest way to move code to a machine without git.
- Compare links answer "what changed in this release" in one line.
- While editing a file, typing a path into the name box moves it (chapter 03).