Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.09 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.09 KB

Tmux plugin for cargo

Why

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.

Features

  • Run mostly all cargo commands
  • Run custom cargo commands
  • Fuzzy search of concreate test

Dependencies

Screenshots

Alt text

Install

Add with tpm

set -g @plugin 'idevtier/tmux-cargo'

Manual install

Clone repo:

git clone https://github.com./idevtier/tmux-cargo ~/.tmux-cargo

Add to ~/.tmux.conf:

run-shell ~/.tmux-cargo/tmux-cargo.tmux

Reload tmux configuration:

tmux source-file ~/.tmux.conf

How to use

  • Use prefix+a
  • Tmux will create new window and run fzf for cargo commands
  • Choose one of them and go
  • After running test command automatically enters copy mode

In work

  • Multiple test selection
  • Bench selection