Simple vim command bindings to quickly run cargo stuff from vim.
- CargoBench
- CargoBuild
- CargoClean
- CargoDoc
- CargoNew
- CargoRun
- CargoTest
- CargoUpdate
It's recommended to use a plugin manager to manage your vim plugins. A few examples:
Plugin 'timonv/vim-cargo'
Plug 'timonv/vim-cargo'
NeoBundle 'timonv/vim-cargo'
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}"
- Fork
- Code
- Test
- Pull-request