• Posted by Peter Haza
  • On September 15, 2008

  • Filed under TextMate

  • No Comments

Updated TextMate tip: Go to first non-space character

I’ve done some small refinements in my Go to first non-space character TextMate tip. Instead of using a non-capturing regex, I’m now actually selecting first character, and then taking a step back from the selection. This makes the command work for lines which aren’t indented too. A small adjustment to this regex was also submitted by Abhi Beckert, which makes the command work as expected on empty lines too. You can find the updated command here.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

What do you think? Join the discussion...