sponsor Vim development Vim logo Vim Book Ad

rust-snippets : Rust snippets for Vim

 script karma  Rating 1/1, Downloaded by 212  Comments, bugs, improvements  Vim wiki

created by
Wafelack Wafelack
 
script type
utility
 
description
rust-snippets

Rusty snippets for Vim

You can edit your snippets as well (they are located in ~/.vim/bundle/rust-snippets/snippets) or even change your snippets folder by changing the path variable in your ~/.vimrc (let g:snips_path = "$PATH2SNIPPETS")

You can also change the leader for this plugin if & is already used (let g:rusty_map = "$NEW_LEADER" in your .vimrc)
Installation
Vlugger

Run vlugger install wafelack/rust-snippets in terminal.
Pathogen

Run cd ~/.vim/bundle/ && git clone https://github.com/wafelack/rust-snippets.git in terminal.
VimPlug

Place this in your .vimrc:

Plug 'wafelack/rust-snippets'

… then run the following in Vim:

:source %
:PlugInstall

Vundle

Place this in your .vimrc:

Plugin 'wafelack/rust-snippets'

… then run the following in Vim:

:source %
:PluginInstall
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
snippets.vim 8.2 2020-11-22 8.0 Wafelack Wafelack Initial upload
ip used for rating: 34.201.122.150

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github