2
votes

In Textmate: Power Editing for the Mac, the author says that Textmate has Emacs key bindings. When I try to use them in Textmate some work and some don't work. For example C-n moves the cursor down one line, but C-p runs some command that gives me weird output (it doesn't move up one line). Is there a way in Textmate to lookup what a key binding does (like Emacs' help command)? Why are some Emacs key bindings being overridden by other commands and how do I fix this?

2

2 Answers

2
votes

There are some Emacs key bindings available. ^+A, ^+E, ^+K, ^+Y, etc., work as they do in Emacs (in fact, most of those will work in any Cocoa app). You can see a more complete list here (scroll down about ⅔ of the way down the page). However, active bundles may interfere with some of the these bindings, in which case you can edit the bundle by going to Bundles > Bundle Editor. Also, not all Emacs bindings work.

0
votes

Try this https://github.com/defunkt/textmate.el a textmate-mode for emacs.