Skip to content

scipunch/tmux-cargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Plugin for interacting with cargo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages