hop
single-key marks for your terminal.
Install
hop supports zsh, bash, and fish.
Themes
hop includes 7 built-in color schemes: tokyo-night, material-you, catppuccin, linear, nord, rose-pine, and gruvbox.
You can also press t in the picker to cycle themes on the fly (unless t is bound to a mark).
Usage
Give a key a target:
Then run:
Choose a mark with its key, or use ↑ / ↓ and Enter.
You can also mark the current directory:
List or remove marks:
Local marks
Marks can be kept in a project's .hop.toml:
Local marks take precedence over the global configuration.
[]
= "/home/user/projects/docs"
= "dir"
[]
= "cargo build --release"
= "cmd"
Global marks are stored in:
~/.config/hop/global.toml
How it works
hop uses explicit key-to-target mappings.
There is no frecency or automatic reordering. If d points to a directory, it stays there until you change it.
Marks can point to:
- directories
- files
- shell commands
The shell integration uses the selected target to either cd into a directory, open a file with $EDITOR, or evaluate a command.