public
Fork of defunkt/textmate.el
Description: Basic emulation of awesome TextMate features for Emacs.
Homepage: http://ozmm.org/posts/textmate_minor_mode.html
Clone URL: git://github.com/anildigital/textmate.el.git
name age message
file README.markdown Loading commit data...
file textmate.el
README.markdown

TextMate Minor Mode for Ubuntu emacs

Fork of textmate.el of defunkt (http://github.com/defunkt/textmate.el)

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

;;  M-t - Go to File
;;  Shift-M-T - Go to Symbol
;;  M-L - Go to Line
;;  M-/ - Comment Line (or Selection/Region)
;;  M-] - Shift Right (currently indents region)
;;  M-[ - Shift Left  (not yet implemented)
;;  C-M-] - Align Assignments (not yet tested)
;;  C-M-[ - Indent Line (not yet tested)
;;  M-RET - Insert Newline at Line's End
;;  C-M-T - Reset File Cache (for Go to File) (not yet tested)

;; 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/anildigital/textmate.el.git

In your emacs config:

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