The “Wrap Column” submenu let’s you specify if reflowing should occur at a certain column or the window border. The “Soft Wrap” option in the “View” command let’s your text automatically reflow. It can show Foldings (collapsed text blocks), Bookmarks (little stars in the gutter to indicate lines of interest you can quickly navigate to), Line Numbers and “Soft Wrap Indicators” (Little dots in the Gutter for wrapped line, if Line Numbers are turned off). The “Gutter” is the part of the TextMate window left to the Editing Area. The same applies to the state of spell checking, soft wrap, and the actual tab size. This setting will affect only the current language, and all languages with a common root for which you have not set the option yet. Visual Tab size and Soft Tabs settings can be made here. The status bar at the bottom of the TextMate window let’s you customize the settings further. In the General settings we might have changed some attributes of the visual representation of the TextMate Window like highlighting the current line. “Folder References” specify Files and Folders to be included in the Project Drawer. Setting it to / will make all the HTML Bundle Snippets insert correct XHTML by closing single tags like and Folder References The most important one for anyone who uses HTML will be TM_XHTML. Shell Variables have their own Chapter in the TextMate Manual. You can also do that per Project, in the Projects Settings. Here you can set up Shell Variables to modify the behavior of certain commands globally.
TEXTMATE COMMAND LINE MANUAL
This Section of the Manual tells you about the options available here. Sets the preferences for TextMate Updates. New themes are usually published in the Wiki. This might become a tutorial at some point in time. This requires some knowledge about Language Grammars and Scope Selectors. This sub-dialog let’s you select and customize Colors and Themes.
If you use PHP or Perl often and want $ to be a word character so you can select variables by double clicking on them, here is the right place to do so. “Word characters” is documented here as well.“Re-indent pasted text” and “Smart Typing” are documented there and are basic, yet essential features of TextMate.The project drawer might be focus of another Tutorial. “Display groups and folders in bold” says it all. This option specifies if TextMate should create a new window at startup, reactivation or not at all. … will color the background beyond the n-th column differently. We will set this up later in Gutter Setup. This will draw a line to indicate the n-th column. This will give the current line a slightly different background color, if the theme (See Fonts & Colors) supports it. The Preferences is of course the first thing to customize TextMate. Remember: You can bring up this Dialog from the Help Menu, too. So to have a command with -wait as default, you can Mate -|cat -n -w implied (read from stdin)Īn exception is made if the command is started as something which ends "mate *.tex").īy default mate will not wait for the file to be closed If multiple files are given, a project is created consisting of theseįiles, -a is then default and -w will be ignored (e.g. n, -no-reactivation After edit with -w, do not re-activate the calling app. d, -change-dir Change TextMates working directory to that of the file. r, -recent Add file to Open Recent menu.
l, -line Place caret on line after loading file. w, -wait Wait for file to be closed by TextMate. a, -async Do not wait for file to be closed by TextMate.
Mate has the following options: moiraine:~ foobar$ mate -help This is a convenient way to open files or folders from the command line and editing them.
TEXTMATE COMMAND LINE INSTALL
If you are using the Shell ( /Applications/Utilities/Terminal.app) this lets you install a command line tool called mate which will invoke TextMate from the Shell. When starting TextMate the first time this dialog will greet you. If you can only think of the Ocean and Oysters when you hear “Shell” then you can safely skip this step and select “Don’t Create”. TextMate Setup Tutorial TextMate Setup Tutorial