Skip to content

Vim plugin to quickly insert a script tag for js package distributed via cdn

Notifications You must be signed in to change notification settings

staskjs/vim-insert-cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-insert-cdn

Need to quickly insert a cdn link to a javascript library, but you're already tired of googling it everytime? vim-insert-cdn does just that.

Installation

If you use pathogen:

$ cd ~/.vim/bundle && git clone https://github.com/staskjs/vim-insert-cdn.git

Usage

Plugin exposes a command:

:InsertScriptTag package_name

package_name is a npm-like notion. You can write :InsertScriptTag jquery@1.10.0 or without a version :InsertScriptTag jquery

API

Plugin uses jsdelivr.com API to get information about packages.

About

Vim plugin to quickly insert a script tag for js package distributed via cdn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published