ynkr
ynkr

Reputation: 28024

emacs-like mark selection in textmate

I used emacs for years before being convinced to switch over to textmate. I am mostly happy with the move but really, really miss the ability to select text by setting a mark and then moving the cursor; using shift + arrow just doesn't cut it for me. I have tried a couple bindings based on some out-dated blog posts out there but just can't figure it out!

Anybody know of a bundle or binding that will help me get this functionality?

Upvotes: 0

Views: 181

Answers (1)

romainl
romainl

Reputation: 196596

I don't know of a way to do that in TextMate. It has bookmarks, used for navigation, but nothing like what you describe.

If I remember correctly, placing the caret somewhere and extending the selection with + arrows is the only practical way to select stuff in TextMate.

Like in all Mac OS X applications you can accelerate the process by hitting and go word by word.

There are 3 special shortcuts you might find useful but I don't think they will solve your problem:

  • ^ + W to select the current Word
  • + L to select the current Line
  • + B to select between enclosing pairs

A bundle I've used for some time (but under a different name, I think) proposes scope-oriented selection. I remember it being quite useful at times but also a bit buggy.

Upvotes: 1

Related Questions