Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

timonv/vim-cargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vim Cargo

Simple vim command bindings to quickly run cargo stuff from vim.

Commands Available, mapping with their Cargo equivalant:

  • CargoBench
  • CargoBuild
  • CargoClean
  • CargoDoc
  • CargoNew
  • CargoRun
  • CargoTest
  • CargoUpdate

Installation

It's recommended to use a plugin manager to manage your vim plugins. A few examples:

Vundle

Plugin 'timonv/vim-cargo'

Plug

Plug 'timonv/vim-cargo'

NeoBundle

NeoBundle 'timonv/vim-cargo'

Usage

Simply run one of the commands. By default it just delegates to cargo.

You can overwrite g:cargo_command to, for instance, support dispatch:

let g:cargo_command = "Dispatch cargo {cmd}"

Contribute

  • Fork
  • Code
  • Test
  • Pull-request

About

Rust Cargo command bindings

Resources

License

Stars

Watchers

Forks

Packages

No packages published