Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  Business / Productivity  |  Word Processing  |  TextMate  |  emacs/bash users beware

TextMate

TextMate

Versatile text editor.

Version:  1.5.9

   [ Views: 1335 ]

emacs/bash users beware

Feedback Type:  Usage Tip

Contributed by: dan.kelley Thursday, July 21 2005 @ 04:50 AM PDT

Product Platform: MacOSX

Used Product For: 1-6 months

Warning: control-f doesn't advance one character, as you might expect, but rather it fills the paragraph. Filling a paragraph is often a good thing, but not as often as advancing one character. (In typing this comment I probably hit control-f several times, for example.)

There are ways to make any key do any action in TextMate, but be warned that TM out of the box may drive you to distraction.   

2 of 2 users found this helpful.

Rate this Usage Tip

Was this Usage Tip helpful? Yes | No

Comments

3 comments |

emacs/bash users beware - sjk

Do you know offhand if other frequently used Emacs-style control character navigation shortcuts run TextMate actions by default? Thanks.

Reply to This

Friday, July 22 2005 @ 04:32 PM PDT


emacs/bash users beware - dan.kelley

As of version 1.1, beta 16, the control-F badness has gone away. This developer listens to users. Also, there are ways to cancel any key binding that is not favoured.

<p>Another poster has asked if there are other problems with key bindings. I am not an authority but I can give an opinion based on many hours of typing. Certainly, if you want full emacs bindings, don't use textmate. (Then again, why would you think of it, since emacs works well on OSX?) However, if you just use basic things like ctl-F, ctl-A, etc., then this editor doesn't seem to have any clashes. Another way to put this is that I used to scream out loud at the ctl-F behaviour (i.e. I am a touch typist who has little patience for unexpected results), and now I no longer get annoyed at all. That probably indicates that the bindings that are common to various osx text applications work correctly. For example, any keybindings that I've typed in this box using Safari (ctl-K, just a second ago) work fine in TM.

<p>My advice is to test it out.

Reply to This

Sunday, August 07 2005 @ 12:05 PM PDT


emacs/bash users beware - hombre

For the record, ctrl-a, ctrl-e, ctrl-b, ctrl-f, ctrl-k, and ctrl-y work in 1.1b17 (these are the same ones that seem to work in Cocoa applications in general). ctrl-u and ctrl-w do not work in Cocoa applications generally and in TextMate they do not work in Emacs fashion but are mapped to other functions: ctrl-w selects the current word and ctrl-u makes the current word all uppercase. These are the only Emacs key bindings that I am familiar with, so they are the only ones I tested.

The help file explains that TextMate has its own key bindings defined in path_to_textmate/TextMate.app/Contents/Resources/KeyBindings.dict (many of which are quite useful). These can overridden by the user in ~/Library/Application Support/TextMate/KeyBindings.dict.

Reply to This

Saturday, November 19 2005 @ 03:52 PM PST