O'Reilly logo

TextMate How-To by Chris Mears

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bookmarking (Should know)

Bookmarking is a great way to save a line of code so that you can navigate back to it later or cycle among all of your bookmarks.

How to do it...

You can use the following methods to bookmark a line:

  • From the menu, select Navigation | Add Bookmark and Navigation | Remove Bookmark.
  • The keyboard shortcut Command + F2
  • Click on the gutter next to the line in order to toggle the bookmark:
    How to do it...

How it works...

A star indicator in the gutter signifies when a line has been bookmarked.

  • The Next Bookmark option is used to go to the next bookmark in the document. From the menu, select Navigation | Next Bookmark (F2).
  • The Previous Bookmark option ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required