0

Is there any way to set cmd + click to select a full word in textmate?

3
  • A double-click selects a full word in TextMate, and triple-click selects a whole line. That should suit your needs, right?
    – ghoppe
    Jul 15, 2010 at 17:38
  • I am fairly new to the mac and am trying to get some of my hard-wired habits from windows' editplus working on textmate. Is there a way to do a global macro where cmd + click simulates a double click? Jul 16, 2010 at 15:56
  • 1
    I suggest diving in to learn the Mac behavior, instead of perpetuating old habits using workarounds that could break in the future.
    – Daniel Beck
    Jan 10, 2011 at 7:46

1 Answer 1

0

There is no easy way to do it in TextMate, since mouse events cannot be set to invoke a command. Besides, as far as I know, you cannot select text via command. So the only possibility would be to write an extension for TextMate, which is much more complex than writing snippets and commands.

However, I'm sure you can get it working system wide, because it is possible to customize the cocoa text areas (basically most applications use them, thus your changes are reflected nearly everywhere). For example, it's possible to give those text areas an vim-like behaviour with different modes. Sadly I can't find a helping link right know, maybe someone else has a good resource for adjusting cocoa text areas?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .