cargo install hop-rs
./shell/install.shhop supports zsh, bash, and fish.
hop includes 7 built-in color schemes: tokyo-night, material-you, catppuccin, linear, nord, rose-pine, and gruvbox.
hop theme # preview palettes
hop theme material-you # set global default
hop --theme linear # one-off overrideYou can also press t in the picker to cycle themes on the fly (unless t is bound to a mark).
Give a key a target:
hop mark d ~/projects
hop mark b "cargo build --release"Then run:
hopChoose a mark with its key, or use ↑ / ↓ and Enter.
You can also mark the current directory:
hop mark dList or remove marks:
hop list
hop unmark dMarks can be kept in a project's .hop.toml:
hop mark d ./docs --localLocal marks take precedence over the global configuration.
[marks.d]
target = "/home/user/projects/docs"
kind = "dir"
[marks.b]
target = "cargo build --release"
kind = "cmd"Global marks are stored in:
~/.config/hop/global.toml
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.
