Most editors have an option to run cargo commands, but in my opinion this goes beyond the editor's domain area, so I decided to write a universal solution for any terminal that has tmux.
- Run mostly all cargo commands
- Run custom cargo commands
- Fuzzy search of concreate test
Add with tpm
set -g @plugin 'idevtier/tmux-cargo'Clone repo:
git clone https://github.com/idevtier/tmux-cargo ~/.tmux-cargoAdd to ~/.tmux.conf:
run-shell ~/.tmux-cargo/tmux-cargo.tmuxReload tmux configuration:
tmux source-file ~/.tmux.conf- Use
prefix+a - Tmux will create new window and run
fzffor cargo commands - Choose one of them and go
- After running
testcommand automatically enterscopy mode
- Multiple test selection
- Bench selection
