Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/domchristie/tmbundle
Frontend snippets for textmate
https://github.com/domchristie/tmbundle
Last synced: 12 days ago
JSON representation
Frontend snippets for textmate
- Host: GitHub
- URL: https://github.com/domchristie/tmbundle
- Owner: domchristie
- Created: 2011-05-19T11:00:36.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-19T12:36:49.000Z (over 13 years ago)
- Last Synced: 2023-04-09T21:37:27.022Z (over 1 year 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 + /`