github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

defunkt / textmate.el

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 173
    • 29
  • Source
  • Commits
  • Network (29)
  • Issues (2)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • forks
    • gh-pages
    • master ✓
  • Tags (1)
    • v1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Basic emulation of awesome TextMate features for Emacs. — Read more

  cancel

http://ozmm.org/posts/textmate_minor_mode.html

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Sync README.markdown with textmate.el 
timcharper (author)
Mon Dec 21 10:47:44 -0800 2009
defunkt (committer)
Mon Dec 28 18:08:57 -0800 2009
commit  66848b7434e539793c257e11605036ef2d65aed3
tree    1f370b3a04bfc133dd9e65cf17b1aabf26978c09
parent  17b699fc96849958f9a09003d11da73020ffb7be
textmate.el /
name age
history
message
file .gitignore Tue Aug 11 10:01:16 -0700 2009 Refactor to a nicer way to extend the project r... [irfn]
file README.markdown Mon Dec 28 18:08:57 -0800 2009 Sync README.markdown with textmate.el [timcharper]
file textmate.el Thu Dec 24 10:00:57 -0800 2009 add a Version [defunkt]
README.markdown

TextMate Minor Mode

;; This minor mode exists to mimick TextMate's awesome
;; features. 

;;    ⌘T - Go to File
;;  ⇧⌘T - Go to Symbol
;;    ⌘L - Go to Line
;;  ⇧⌘L - Select Line (or expand Selection to select lines)
;;    ⌘/ - Comment Line (or Selection/Region)
;;    ⌘] - Shift Right (currently indents region)
;;    ⌘[ - Shift Left  (not yet implemented)
;;  ⌥⌘] - Align Assignments
;;  ⌥⌘[ - Indent Line
;;  ⌘RET - Insert Newline at Line's End
;;  ⌥⌘T - Reset File Cache (for Go to File)

;; A "project" in textmate-mode is determined by the presence of
;; a .git directory. If no .git directory is found in your current
;; directory, textmate-mode will traverse upwards until one (or none)
;; is found. The directory housing the .git directory is presumed
;; to be the project's root.

;; In other words, calling Go to File from 
;; ~/Projects/fieldrunners/app/views/towers/show.html.erb will use
;; ~/Projects/fieldrunners/ as the root if ~/Projects/fieldrunners/.git
;; exists.

Installation

$ cd ~/.emacs.d/vendor
$ git clone git://github.com/defunkt/textmate.el.git

In your emacs config:

(add-to-list 'load-path "~/.emacs.d/vendor/textmate.el")
(require 'textmate)
(textmate-mode)

Rave Reviews

DaysAreMade SoFarSoAwesome ReallyGreat MadeMyWeek ItRules Baberaham TextMade KeepOnTruckin DontMissIt

Author

Chris Wanstrath // chris@ozmm.org
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server