All Projects → mhinz → Vim Crates

mhinz / Vim Crates

Licence: mit
Handle Cargo dependencies like a Rustavimean.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Vim Crates

Vim Svelte
Vim syntax highlighting and indentation for Svelte 3 components.
Stars: ✭ 158 (+192.59%)
Mutual labels:  plugin, neovim
Vim Yoink
Vim plugin that maintains a yank history to cycle between when pasting
Stars: ✭ 225 (+316.67%)
Mutual labels:  plugin, neovim
Vim Subversive
Vim plugin providing operator motions to quickly replace text
Stars: ✭ 168 (+211.11%)
Mutual labels:  plugin, neovim
Nvim Lspconfig
Quickstart configurations for the Nvim LSP client
Stars: ✭ 3,410 (+6214.81%)
Mutual labels:  plugin, neovim
Gina.vim
👣 Asynchronously control git repositories in Neovim/Vim 8
Stars: ✭ 587 (+987.04%)
Mutual labels:  plugin, neovim
Vim Laravel
Vim support for Laravel/Lumen projects
Stars: ✭ 128 (+137.04%)
Mutual labels:  plugin, neovim
Vim Sneak
The missing motion for Vim 👟
Stars: ✭ 2,467 (+4468.52%)
Mutual labels:  plugin, neovim
Aerojump.nvim
Aerojump is a fuzzy-match searcher/jumper for Neovim with the goal of quick keyboard navigation
Stars: ✭ 184 (+240.74%)
Mutual labels:  plugin, neovim
Comfortable Motion.vim
Brings physics-based smooth scrolling to the Vim world!
Stars: ✭ 543 (+905.56%)
Mutual labels:  plugin, neovim
Vimpyter
Edit your Jupyter notebooks in Vim/Neovim
Stars: ✭ 308 (+470.37%)
Mutual labels:  plugin, neovim
Nvim Toggleterm.lua
A neovim lua plugin to help easily manage multiple terminal windows
Stars: ✭ 102 (+88.89%)
Mutual labels:  plugin, neovim
Vim Dirvish
Directory viewer for Vim ⚡️
Stars: ✭ 929 (+1620.37%)
Mutual labels:  plugin, neovim
Close Buffers.vim
📖 Quickly close (bdelete) several buffers at once 📕
Stars: ✭ 99 (+83.33%)
Mutual labels:  plugin, neovim
Iris.vim
📫 Simple mail client for Vim.
Stars: ✭ 148 (+174.07%)
Mutual labels:  plugin, neovim
Sniprun
A neovim plugin to run lines/blocs of code (independently of the rest of the file), supporting multiples languages
Stars: ✭ 93 (+72.22%)
Mutual labels:  plugin, neovim
Gen tags.vim
Async plugin for vim and neovim to ease the use of ctags/gtags
Stars: ✭ 288 (+433.33%)
Mutual labels:  plugin, neovim
Markdown Preview.vim
⚠️ PLEASE USE https://github.com/iamcco/markdown-preview.nvim INSTEAD
Stars: ✭ 764 (+1314.81%)
Mutual labels:  plugin, neovim
Neoformat
✨ A (Neo)vim plugin for formatting code.
Stars: ✭ 977 (+1709.26%)
Mutual labels:  plugin, neovim
Flutter country picker
A Flutter Country Picker Widget with support to country dialing codes
Stars: ✭ 49 (-9.26%)
Mutual labels:  plugin
Emojitaco
Alfred Emoji Script with Taco and other unicode 9 emoji
Stars: ✭ 51 (-5.56%)
Mutual labels:  plugin

vim-crates

When maintaining Rust projects, this plugin helps with updating the dependencies in Cargo.toml files. It uses the crates.io API to get all available versions of a crate and caches them.

curl needs to be installed.

  • Insert completion

    If the cursor is on a version requirement and in insert mode, use <c-x><c-u> (hold Ctrl and hit x then u) to open a completion menu with all available versions (see :h i_CTRL-X_CTRL-U).

  • :CratesUp

    Update the current dependency to the latest non-prerelease version.

  • :CratesToggle

    For each dependency that is out-of-date, indicate the latest version as virtual text after the end of the line. Use it again to remove all indicators. This is a Nvim-only feature.

    Customize the colors of the indicators like this:

    highlight Crates ctermfg=green ctermbg=NONE cterm=NONE
    " or link it to another highlight group
    highlight link Crates WarningMsg
    

    Use :verb CratesToggle to see debug messages.

Inspired by serayuzgur/crates.

Happy 🦀 everyone!

Configuration

Automatically run :CratesToggle when opening a Cargo.toml file:

if has('nvim')
  autocmd BufRead Cargo.toml call crates#toggle()
endif

Demo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].