Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using TextMate, I noticed when you open a new set of quotations, the ending quotation is automatically created and wraps what you are going to type. Let's say I am finished typing my string literal, and now my cursor in the position right before the ending quotation. I still need to write other things after the ending quotation. For example, I may be writing a parameter for a function, and the function has a few more parameters. I know CMD + ENTER goes to the next line, and I know CMD + SHIFT + ENTER ends the current line with a semi-colon and then moves the cursor to the next line. Is there a similar natured hotkey that moves the cursor to the position after the ending quotation? I understand that I can just press ' and then SPACE, and that I can use the arrow keys, but I want to know if there is a hotkey with similar a similar nature. Also, for future reference, I feel like I can never find all these hotkeys that I maybe look for. Where am I supposed to look?

share|improve this question
up vote 1 down vote accepted

You didn't give any examples, but if this is your use case:

somefunction("onestring", "otherstring")

Then you're asking for a hotkey to move your cursor from position ab to bc, which can be accomplished by hitting (right arrow key) once. Any hotkey combination would result in more key-presses than this and therefore not be beneficial (unless you want to avoid moving your hand off the home position, in which case you may want to look at ViMate).

For finding hotkeys the Textmate bundle contains a function called Show Keyboard Shortcuts, which lets you do exactly that. Hit ^⌥⌘K to quickly access it.

share|improve this answer
That was the thing, it was efficient because I had to move my hand off the home row. – Doug Aug 26 '11 at 1:40

Currently using: TextMate version 2.0-alpha.9547

Was trying to define it myself when I found out it is already defined as:

Ctrl + f

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.