drnic / html-script-src.tmbundle

Insert <script src=".."> for popular JavaScript libraries (via http://scriptsrc.net/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script Src TextMate bundle

Select one of the libraries referenced at http://scriptsrc.net/ and insert the HTML (or Haml) <script src=".."> link into your document.

Description

Activate the command with scriptsrc tab completion:

Select the JavaScript library you want:

In HTML or HTML(Rails) scopes you get instant HTML:

In Haml you get instant Haml:

Installation

To install via Git:

cd ~/"Library/Application Support/TextMate/Bundles/"
git clone git://github.com/drnic/html-script-src.tmbundle.git "HTML Script Src.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Source can be viewed or forked via GitHub: http://github.com/drnic/html-script-src.tmbundle

Other editors

This script has also been ported to other editor(s):

Authors

Dr Nic Williams, drnicwilliams@gmail.com, http://drnicwilliams.com, Mocra

Live source of projects and their source URLs at http://scriptsrc.net/

About

Insert <script src=".."> for popular JavaScript libraries (via http://scriptsrc.net/)