https://github.com/domchristie/tmbundle
Frontend snippets for textmate
https://github.com/domchristie/tmbundle
Last synced: 2 months ago
JSON representation
Frontend snippets for textmate
- Host: GitHub
- URL: https://github.com/domchristie/tmbundle
- Owner: domchristie
- Created: 2011-05-19T11:00:36.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2011-07-19T12:36:49.000Z (almost 14 years ago)
- Last Synced: 2025-02-13T01:43:58.280Z (4 months ago)
- Homepage: http://domchristie.co.uk
- Size: 97.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dom's TextMate Bundle
===================Mostly frontend snippets for TextMate
Installation
---------------
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone [email protected]:domchristie/tmbundle.git DomChristie.tmbundleReload your bundles, and you're done!
Usage
---------
### Lucida font-stackNice Lucida font-stack:
"Lucida Grande", Verdana, Tahoma, Ubuntu, sans-serif
Tab trigger: `lucida`
### jQuery document ready
Shorthand jQuery document ready function.
$(function(){
});Tab trigger: `$`
### Console log
Logs selected text in javascript console (or creates empty log function).
window.console && console.log();
Key equivalent: `ctrl + shift + L`
### CSS comment banner
Makes selected text into CSS comment banner (or creates an empty one).
/*
-----------------------------------------------
Banner
-----------------------------------------------*/Key equivalent: `ctrl + shift + /`