timonv / vim-cargo

Rust Cargo command bindings
MIT License
56 stars 11 forks source link

Vim Cargo

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

Commands Available, mapping with their Cargo equivalant:

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