Skip to content

In-App Command Line

The command line inside Hike behaves like a focused shell for Markdown-centric navigation. It supports history, completion, forge shortcuts, and sidebar jumps.

CommandAliasesAreaPurpose
bookmarksb, bmNavigationJump to bookmarks and open the navigation panel if needed.
contentsc, tocNavigationJump to the current document’s table of contents.
historyhNavigationJump to document history.
locallNavigationJump to the local file browser.
bitbucketbbForgesOpen Markdown from Bitbucket.
codebergcbForgesOpen Markdown from Codeberg.
githubghForgesOpen Markdown from GitHub.
gitlabglForgesOpen Markdown from GitLab.
chdir <dir>cd, dir, lsLocal filesChange the local browser root.
changelogclHelpOpen Hike’s change log.
help?HelpOpen the in-app help dialog.
obsidianobsLocal filesJump to the configured Obsidian vault root.
readmeHelpOpen Hike’s README.
Typing a file path into the Hike command line.
A local file path opens directly when you press Enter.
Typing a remote URL into the Hike command line.
URLs can be entered directly when they point at Markdown content.
Typing a directory path into the Hike command line.
Entering a directory path opens a file picker rooted there.
The file browsing dialog opened from the Hike command line.
After pressing Enter on a directory path, Hike opens a browsing dialog.
  • bookmarks / b / bm
  • contents / c / toc
  • history / h
  • local / l

These commands all ensure the navigation panel is open and then move focus to the requested sidebar view.

CommandAliasHost
bitbucketbbBitbucket
codebergcbCodeberg
githubghGitHub
gitlabglGitLab

Supported formats include:

  • <owner>/<repo>
  • <owner>/<repo> <file>
  • <owner>/<repo>:<branch>
  • <owner>/<repo>:<branch> <file>

Examples:

gh tobiashochguertel/hike
gh tobiashochguertel/hike ChangeLog.md
gh tobiashochguertel/hike:revamp-readme
  • chdir <dir> / cd / dir / ls — change the local browser root
  • changelog / cl — open the fork change log
  • help / ? — show the help dialog
  • obsidian / obs — jump to the configured Obsidian vault root
  • readme — open the README