Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 716 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 716 Bytes

VIM-CARGO-SEARCH

Vim plugin to search crates using cargo search, list them in a floating buffer and easily add them to Cargo.toml.

Install

If you are using vim-plug, you can install this plugin by adding:

Plug 'martskins/vim-cargo-search'

Usage

:CargoSearch crate-name

Select the crate you want by pressing <CR>, this will yank the crate to your default register and open Cargo.toml for you.

Paste the crate in the correct section by pressing <p> as you would do normally.

Demo