<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Textmate 2: The missing manual. Help us out by submitting any tips or tricks you come across!</description><title>Textmate 2 Tips</title><generator>Tumblr (3.0; @tm2tips)</generator><link>http://tm2tips.tumblr.com/</link><item><title>Strip trailing whitespace on Save with …callbacks!</title><description>&lt;p&gt;Open the bundle editor (⌃⌥⌘B) and open &amp;#8220;Text&amp;#8221; → &amp;#8220;Menu Actions&amp;#8221; → &amp;#8220;Converting / Stripping&amp;#8221; → &amp;#8220;Remove Trailing Spaces in Document / Selection&amp;#8221;.&lt;/p&gt;

&lt;p&gt;Then in the drawer put &lt;strong&gt;callback.document.export&lt;/strong&gt; in Semantic Class and &lt;strong&gt;Document&lt;/strong&gt; / &lt;strong&gt;Replace Document&lt;/strong&gt; as Input / Output.&lt;/p&gt;

&lt;p&gt;Hooray! From now on each time you&amp;#8217;ll save a document all trailing space will be stripped!&lt;/p&gt;

&lt;p&gt;&lt;img src="http://api.cld.me/image/3g1X0x283m3h/Schermata%2007-2456135%20alle%2012.56.12%20am.png" alt="Bundle Editor"/&gt;&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/42657705618</link><guid>http://tm2tips.tumblr.com/post/42657705618</guid><pubDate>Sat, 09 Feb 2013 06:34:42 -0500</pubDate><category>trailing whitespace</category><category>textmate2</category><category>callbacks</category><category>stripping</category><category>submission</category><dc:creator>elia</dc:creator></item><item><title>Create a new file in a project folder</title><description>&lt;p&gt;One of the big changes in TM2 is that you can no longer create new files from the Project Drawer&amp;#8217;s right click menu. This was a handy feature that I honestly miss.&lt;/p&gt;
&lt;p&gt;Fortunately, there is a work around though it&amp;#8217;s somewhat less intuitive.&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Create a new file/tab by hitting &lt;strong&gt;⌥⌘N&lt;/strong&gt; or choosing &lt;strong&gt;File &amp;gt; New Tab&lt;/strong&gt; from the menu.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the folder that you want to save the file in from the File Browser/Project Drawer:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Selecting a folder in the file drawer" src="http://cl.ly/2x1I0P0G3j0l433u1631/Screen%20Shot%202012-01-25%20at%2010.49.45%20AM.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Here I have the &lt;code&gt;stylesheets&lt;/code&gt; folder selected.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Save the new tab (&amp;#8220;untitled&amp;#8221; in the screenshot above) by hitting &lt;strong&gt;⌘S&lt;/strong&gt; or choosing &lt;strong&gt;File &amp;gt; Save&lt;/strong&gt; from the menu.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The file dialog will come up with the folder you chose in step 2 selected.&lt;/p&gt;
&lt;p&gt;&lt;img alt="There's your folder" src="http://cl.ly/2X2o3y2x3N0r3m3V1h3i/Screen%20Shot%202012-01-25%20at%2011.02.40%20AM.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The save dialog with your folder selected.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Give your new file a name and hit &lt;strong&gt;Enter&lt;/strong&gt; or click &lt;strong&gt;Save&lt;/strong&gt; and the file will be right where you want it!&lt;/p&gt;
&lt;p&gt;&lt;img alt="A new file created in a folder of your choosing" src="http://cl.ly/2N1V0w032X2g002u1L19/Screen%20Shot%202012-01-25%20at%2011.13.49%20AM.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;There it is.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;It&amp;#8217;s worth pointing out that steps 1 and 2 can be done in any order.&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/16467488354</link><guid>http://tm2tips.tumblr.com/post/16467488354</guid><pubDate>Wed, 25 Jan 2012 11:14:35 -0500</pubDate><dc:creator>theinterned</dc:creator></item><item><title>Launch files from the File Browser with a single click</title><description>&lt;p&gt;&lt;img alt="Open files with a single click" height="150" src="http://cl.ly/371z1h0H0R3O2H3H241B/Screen%20Shot%202011-12-19%20at%2010.32.00%20AM.png" width="346"/&gt;&lt;/p&gt;
&lt;p&gt;Want to be able to open files in the File Browser with a single click like you used to in TextMate 1? Click the file&amp;#8217;s icon! A lot of people are asking about this one.&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14458312071</link><guid>http://tm2tips.tumblr.com/post/14458312071</guid><pubDate>Mon, 19 Dec 2011 10:41:00 -0500</pubDate><category>File browser</category><dc:creator>theinterned</dc:creator></item><item><title>8956 Released</title><description>&lt;p&gt;Development continues. This release allows you to disable the functionality that hides the tab bar when only one file is open. Disabling that auto hide makes Textmate 2&amp;#8217;s functionality like that of Textmate 1.&lt;/p&gt;
&lt;h2&gt;2011-12-18&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;Introduced &lt;code&gt;callback.application.did-activate&lt;/code&gt; and &lt;code&gt;callback.application.did-deactivate&lt;/code&gt; as two new semantic classes. A command with this class will be executed when the application gain/lose focus. The scope selector is matched against the &amp;#8220;current scope&amp;#8221; of the visible document (in each window). This allows creating a command with &amp;#8220;Save&amp;#8221; set to &amp;#8220;Modified Documents&amp;#8221; and thereby recreating TextMate 1.x&amp;#8217;s ability to save modified documents on lost focus.&lt;/li&gt;
&lt;li&gt;The approach in 2.0 also allows to run some code, for example reloading the currently open browsers, and it can be scoped e.g. to &lt;code&gt;text.html&lt;/code&gt; to only have the &amp;#8220;save on lost focus&amp;#8221; enabled when editing HTML files - alternatively one can introduce a custom scope like &lt;code&gt;attr.save-on-deactivate&lt;/code&gt; and set that for specific projects via a &lt;code&gt;scopeAttributes&lt;/code&gt; setting in &lt;code&gt;.tm_properties&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Tab bar can be made always visible: &lt;code&gt;defaults write com.macromates.TextMate.preview disableTabBarCollapsing -bool YES&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Fix issue with indented soft wrap having the prefix string wider than the wrap column.&lt;/li&gt;
&lt;li&gt;Fix issue with selection sent to commands needing entire document (e.g. ⌘R for Ruby, Python, etc.).&lt;/li&gt;
&lt;li&gt;Fix issue with ⌃⇥ not always working to move focus to file browser.&lt;/li&gt;
&lt;li&gt;Remove folding patterns from grammar template.&lt;/li&gt;
&lt;/ul&gt;</description><link>http://tm2tips.tumblr.com/post/14453730623</link><guid>http://tm2tips.tumblr.com/post/14453730623</guid><pubDate>Mon, 19 Dec 2011 07:43:51 -0500</pubDate><dc:creator>k776</dc:creator></item><item><title>TextMate Blog » Multiple Carets</title><description>&lt;a href="http://blog.macromates.com/2011/multiple-carets/"&gt;TextMate Blog » Multiple Carets&lt;/a&gt;: &lt;blockquote&gt;
&lt;p&gt;In this article will discuss:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Using multiple carets with the mouse&lt;/li&gt;
&lt;li&gt;Changes to column selection&lt;/li&gt;
&lt;li&gt;Using multiple carets with Find&lt;/li&gt;
&lt;li&gt;Using multiple carets with Copy and Paste&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;</description><link>http://tm2tips.tumblr.com/post/14453668106</link><guid>http://tm2tips.tumblr.com/post/14453668106</guid><pubDate>Mon, 19 Dec 2011 07:40:00 -0500</pubDate><dc:creator>theinterned</dc:creator></item><item><title>⌘X in the File Browser</title><description>&lt;p&gt;Allan pointed out to us yesterday that &lt;span&gt;In addition to ⌘C one can also use ⌘X and ⌘V to move/copy files around (⌘X doesn’t “cut” before ⌘V is used).&lt;/span&gt;&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14408430866</link><guid>http://tm2tips.tumblr.com/post/14408430866</guid><pubDate>Sun, 18 Dec 2011 12:10:06 -0500</pubDate><category>File Browser</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>Language codes</title><description>&lt;a href="http://pastie.textmate.org/private/xmwqhbzi8o9hdbhgcplw"&gt;Language codes&lt;/a&gt;: &lt;p&gt;Thanks to &lt;a href="http://llamageddon.andyh.org/"&gt;llamageddon&lt;/a&gt; for this list of language codes used for spellingLanguage in tm_properties&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14403752452</link><guid>http://tm2tips.tumblr.com/post/14403752452</guid><pubDate>Sun, 18 Dec 2011 10:00:05 -0500</pubDate><category>Language</category><category>.tm_properties</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>Replicating Edit Each Line In Selection</title><description>&lt;p&gt;&lt;span&gt;Here’s a great tip from &lt;/span&gt;&lt;span&gt;&lt;a href="http://eirkeirkeirk.tumblr.com/"&gt;eirkeirkeirk &lt;/a&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;I noticed the ⌘⌥A command was gone from TM2. But I figured out a way to replicate it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;- Select all the lines you want to edit&lt;/p&gt;
&lt;p&gt;- Turn it into a column selection (tap ⌥)&lt;/p&gt;
&lt;p&gt;- Then ⌘→ to move all the carets to the end of each line&lt;/p&gt;
&lt;p&gt;This is actually better than the previous incarnation because:&lt;/p&gt;
&lt;p&gt;- You can actually see the carets, where as before you were typing blindly&lt;/p&gt;
&lt;p&gt;- Each caret acts smarter. So you can do things like  ⌥← to move back one word in each line.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;He’s also provided a quick video showing it in action: http://dl.dropbox.com/u/364257/editall.mov&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14387239866</link><guid>http://tm2tips.tumblr.com/post/14387239866</guid><pubDate>Sat, 17 Dec 2011 23:00:06 -0500</pubDate><category>Multiple Carets</category><category>Multi select</category><category>submission</category><dc:creator>eirkeirkeirk</dc:creator></item><item><title>An excellent example of a .tm_properties file</title><description>&lt;a href="https://github.com/hmans/homedir/blob/master/.tm_properties"&gt;An excellent example of a .tm_properties file&lt;/a&gt;: &lt;p&gt;A big thanks to &lt;a href="https://github.com/hmans"&gt;hmans&lt;/a&gt; for sharing his .tm_properties file. Particularly useful are his instructions on how to hide specific directories (in this case: log, vendor and tmp) from the “Find File” dialog, but not from the project browser.&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14373523526</link><guid>http://tm2tips.tumblr.com/post/14373523526</guid><pubDate>Sat, 17 Dec 2011 19:36:27 -0500</pubDate><category>.tm_properties</category><category>Settings</category><category>Preferences</category><category>submission</category><dc:creator>hmans</dc:creator></item><item><title>8949 Released</title><description>&lt;p&gt;I was delighted to see a significant update to the alpha released earlier today, with some &lt;a href="http://twitter.com/#!/marcoarment/status/148045914471284736"&gt;much anticipated&lt;/a&gt; features/settings added. The big items here are the ability to disable text aliasing, the ability to put the file-browser on the right side of the window, and the option for HTML output to have its own window. See below for the complete release notes:&lt;/p&gt;
&lt;h2&gt;2011–12–16&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;HTML output can open in its own window: &lt;code&gt;defaults write com.macromates.TextMate.preview htmlOutputPlacement window&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Anti-alias can be disabled: &lt;code&gt;defaults write com.macromates.TextMate.preview disableAntiAlias -bool YES&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;File browser can be placed on the right side: &lt;code&gt;defaults write com.macromates.TextMate.preview fileBrowserPlacement right&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;With multiple carets, ⌘-clicking one of them removes it (i.e. it’s a toggle).&lt;/li&gt;
&lt;li&gt;Carriage returns (&lt;code&gt;&amp;lt;CR&amp;gt;&lt;/code&gt;) on the general clipboard are converted to regular newlines when pasting.&lt;/li&gt;
&lt;li&gt;Rename help book to “TextMate 2” which fixes issues where &lt;em&gt;Help → TextMate Help&lt;/em&gt; showed TextMate 1.5’s help book.&lt;/li&gt;
&lt;li&gt;TextMate 1.x and 2.0 can now both run at the same time.&lt;/li&gt;
&lt;li&gt;Setting &lt;code&gt;TM_HG&lt;/code&gt; and &lt;code&gt;TM_GIT&lt;/code&gt; in Preferences is no longer eclipsed by the default properties (which set them to point at &lt;code&gt;/opt/local/bin&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Fix potential crash when deleting bundles on disk (&lt;code&gt;rm -rf&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;</description><link>http://tm2tips.tumblr.com/post/14373351819</link><guid>http://tm2tips.tumblr.com/post/14373351819</guid><pubDate>Sat, 17 Dec 2011 17:36:00 -0500</pubDate><category>Update</category><category>Features</category><category>File browser</category><category>Anti-aliasing</category><category>HTML Output</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>TextMate Blog » Git Style Configuration</title><description>&lt;a href="http://blog.macromates.com/2011/git-style-configuration/"&gt;TextMate Blog » Git Style Configuration&lt;/a&gt;</description><link>http://tm2tips.tumblr.com/post/14325544333</link><guid>http://tm2tips.tumblr.com/post/14325544333</guid><pubDate>Fri, 16 Dec 2011 17:43:33 -0500</pubDate><category>Git</category><category>Preferences</category><category>.tm_properties</category><category>Settings</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>File Browser keyboard shortcuts</title><description>&lt;p&gt;A big thanks to &lt;a href="http://twitter.com/macromates"&gt;macromates&lt;/a&gt; for this list of key commands for use when the file browser is in focus:&lt;/p&gt;
&lt;pre&gt;⌘⇡   Go to Enclosing Folder&lt;br/&gt;⌘⇣   Open&lt;br/&gt;⌘⇠   Go Back&lt;br/&gt;⌘⇢   Go Forward&lt;br/&gt;↩    Rename&lt;br/&gt;␣    QuickLook&lt;br/&gt;⇧⌘N  New Folder&lt;br/&gt;⌥⌘N  New Tab&lt;br/&gt;⌘D   Duplicate&lt;br/&gt;⌘⌫   Delete&lt;br/&gt;⇧⌘C  Go to Computer&lt;br/&gt;⇧⌘H  Go to Home&lt;br/&gt;⇧⌘D  Go to Desktop&lt;br/&gt;⇧⌘G  Go to Folder…&lt;br/&gt;⇧⌘F  Search Selected Folder&lt;br/&gt;⌘C   Copy Path&lt;br/&gt;⌘O   Open&lt;br/&gt;⌘[   Go Back&lt;br/&gt;⌘]   Go Forward&lt;br/&gt;&lt;/pre&gt;
&lt;p&gt;As well as these mouse commands:&lt;/p&gt;
&lt;pre&gt;Single-click icon to open (or double click name).&lt;br/&gt;&lt;br/&gt;Hold ⌥ when single-clicking a package (e.g. tmBundle) to descend into the package.&lt;br/&gt;&lt;br/&gt;Hold ⌥ to “close other” if clicking a regular (text) file.&lt;br/&gt;&lt;/pre&gt;
&lt;p&gt;(Quicklook? Nice.)&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14318493806</link><guid>http://tm2tips.tumblr.com/post/14318493806</guid><pubDate>Fri, 16 Dec 2011 14:58:00 -0500</pubDate><category>Key commands</category><category>Shortcuts</category><category>File browser</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>SmartFolders</title><description>&lt;p&gt;You can access a &lt;strong&gt;&amp;#8220;Smart Folder&amp;#8221; &lt;/strong&gt;from the top bar of the folder drawer by clicking on the purple folder with a gear on it. This folder gives you a view of &amp;#8216;&lt;em&gt;Uncommitted Changes&lt;/em&gt;&amp;#8217; and &amp;#8216;&lt;em&gt;Untracked Files&lt;/em&gt;&amp;#8217; in your project*.&lt;/p&gt;
&lt;p&gt;&lt;img alt="smart folder on textmate" src="http://cl.ly/16392W44340l0E2M3a3d/Screen%20Shot%202011-12-16%20at%2010.39.52%20AM.png"/&gt;&lt;/p&gt;
&lt;p&gt;You can select files you want to commit using the Git bundle&amp;#8217;s &amp;#8220;Commit&amp;#8230;&amp;#8221; command (makes it easier if assign a shortcut to this menu item — maybe &lt;span&gt;⌘&lt;/span&gt;&lt;span&gt;⌥&lt;/span&gt;&lt;span&gt;⌃&lt;/span&gt;C — though you can use &lt;a href="http://tm2tips.tumblr.com/post/14270293534/search-and-edit-bundle-items-by-key-equivalent" title="Search (and edit) bundle items by key equivalent"&gt;this tip&lt;/a&gt; to find one that doesn&amp;#8217;t conflict).&lt;/p&gt;
&lt;p&gt;You can also access a diff viewer from here which opens within textmate itself. Not ideal compared to GitX or Github, but for small commits it&amp;#8217;s nice to not have to switch away from Textmate.&lt;/p&gt;
&lt;p&gt;&lt;small&gt;*This requires that you are using a source control system such as Git, Subversion or Mercurial, and that &lt;a href="http://tm2tips.tumblr.com/post/14228717144/create-a-tm-properties-file-to-set-preferences" title="Create a .tm_properties file to set preferences"&gt;you have configure the proper path in .tm_properties&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14310569632</link><guid>http://tm2tips.tumblr.com/post/14310569632</guid><pubDate>Fri, 16 Dec 2011 10:37:00 -0500</pubDate><category>scm</category><category>file browser</category><category>git</category><category>svn</category><category>hg</category><category>smart folder</category><category>submission</category><dc:creator>theinterned</dc:creator></item><item><title>Search (and edit) bundle items by key equivalent</title><description>&lt;p&gt;Here’s a great tip from Allan:&lt;/p&gt;
&lt;p&gt; ⌃⌘T to bring up the ‘Select bundle item’ dialog. By default, you can search by bundle item title, but if you hit ⌘4, you can switch to key equivalent—meaning you can just type the shortcut to find its bundle item.&lt;/p&gt;
&lt;p&gt;For instance, if you’d like to find the Comment Line/Selection bundle item, you can use: ⌃⌘T + ⌘4 + ⌘/.&lt;/p&gt;
&lt;p&gt;To then edit the bundle item, hit ⌥↩. Allan says that ⌥↩ also works with ⌘T (Go To File).&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14270293534</link><guid>http://tm2tips.tumblr.com/post/14270293534</guid><pubDate>Thu, 15 Dec 2011 14:08:22 -0500</pubDate><category>Bundles</category><category>Go To File</category><category>Bundle Editor</category><category>Shortcuts</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>Quickly show a menu of past search terms</title><description>&lt;p&gt;(From the built-in help)&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Find History&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Just like clipboard history: ⌃⌥⌘F.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;img alt="Find history" src="http://cl.ly/1x130T2519030K2c1Q2y/Screen%20Shot%202011-12-15%20at%201.46.05%20PM.png"/&gt;&lt;/p&gt;
&lt;p&gt;(While we&amp;#8217;re at it: ⌃⌥⌘V = brings up a menu of your past clipboard contents)&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14269546668</link><guid>http://tm2tips.tumblr.com/post/14269546668</guid><pubDate>Thu, 15 Dec 2011 13:45:00 -0500</pubDate><dc:creator>theinterned</dc:creator></item><item><title>TextMate Blog » Locating Bundles</title><description>&lt;a href="http://blog.macromates.com/2011/locating-bundles/"&gt;TextMate Blog » Locating Bundles&lt;/a&gt;</description><link>http://tm2tips.tumblr.com/post/14265786343</link><guid>http://tm2tips.tumblr.com/post/14265786343</guid><pubDate>Thu, 15 Dec 2011 11:46:07 -0500</pubDate><category>Bundles</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>Jump to specific lines/columns from ‘Go To File’ dialog</title><description>&lt;div&gt;
&lt;p&gt;In the ⌘+T (Go To File) dialog, you can append :line or :line:column when specifying a file to jump to. This is particularly useful for console errors that return line/column positions in long blocks of code.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href="http://twitter.com/@joachimm"&gt;Joachim Mårtensson&lt;/a&gt; for this tip!&lt;/p&gt;
&lt;/div&gt;</description><link>http://tm2tips.tumblr.com/post/14263564136</link><guid>http://tm2tips.tumblr.com/post/14263564136</guid><pubDate>Thu, 15 Dec 2011 10:30:00 -0500</pubDate><dc:creator>kevinfinlayson</dc:creator></item><item><title>TextMate 2 .tm_properties — Gist</title><description>&lt;a href="https://gist.github.com/1478685"&gt;TextMate 2 .tm_properties — Gist&lt;/a&gt;: &lt;p&gt;More documentation of .tm_properties, showing among other things the ability to set preferences based on file type.&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14262524209</link><guid>http://tm2tips.tumblr.com/post/14262524209</guid><pubDate>Thu, 15 Dec 2011 09:51:11 -0500</pubDate><category>.tm_properties</category><category>preferences</category><category>settings</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>List of settings</title><description>&lt;p&gt;A list of settings for your .tm_properties file, and some explanation, from a &lt;a href="http://pastie.textmate.org/private/dahuclyxob96tixcnamujg"&gt;pastie posted by Allan Odgaard&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;# List of Settings&lt;br/&gt;&lt;br/&gt;## I/O&lt;br/&gt;&lt;br/&gt;* `binary` — If set for a file, file browser will open it with external program when double clicked. Mainly makes sense when targetting specific globs.&lt;br/&gt;* `encoding` — Set to the file’s encoding. This will be used during save but is also fallback during load (when file is not UTF-8). Load encodinng heuristic is likely going to change.&lt;br/&gt;* `fileType` — The file type given as scope, e.g. `text.plain`.&lt;br/&gt;* `useBOM` — Used during save to add BOM (for those who insist on putting BOMs in their UTF-8 files).&lt;br/&gt;&lt;br/&gt;## Display&lt;br/&gt;&lt;br/&gt;* `theme` — UUID of theme, presently unused but will be back, and should allow name of theme as well (use _View → Themes_ to change theme — remember to install the Themes bundle).&lt;br/&gt;* `fontName`, `fontSize` — Name and size of font, e.g. `Menlo` and `13`. Presently these two keys are required to override font, but there will be a font option in the _View_ menu, so this is only for special requirements.&lt;br/&gt;* `showInvisibles` — Sets the initial value. Can also be changed via View menu.&lt;br/&gt;* `softTabs`, `tabSize` — Presently can only be changed this way, but there should be some memory added to Avian.&lt;br/&gt;* `spellChecking`, `spellingLanguage` — Enable/disable spelling and set language. The language is defined by Apple, I can extract a list (but depends on installed spell checkers).&lt;br/&gt;&lt;br/&gt;## Projects&lt;br/&gt;&lt;br/&gt;* `projectDirectory` — the project directory, generally set to `$CWD` in a `.tm_properties` file at the root of the project. This affects `TM_PROJECT_DIRECTORY` and default folder for ⇧⌘F.&lt;br/&gt;* `windowTitle` — override the window title. The default is `$TM_DISPLAYNAME` but could e.g. be changed to `$TM_FIEPATH`. Should add a `$TM_SCM_BRANCH`.&lt;br/&gt;&lt;br/&gt;## Other&lt;br/&gt;&lt;br/&gt;* `scopeAttributes` — The value is added to the scope of the current file.&lt;br/&gt;&lt;br/&gt;## File Filtering Keys&lt;br/&gt;&lt;br/&gt;These are all globs and perhaps a bit arcane.&lt;br/&gt;&lt;br/&gt;The file browser, if it has a file, checks that file against the first key with a value in this order: `excludeFilesInBrowser`, `excludeInBrowser`, `excludeFiles`, `exclude`. If neither match, it then does the same with include keys, and if one match, it is included.&lt;br/&gt;&lt;br/&gt;The default include key is `*` (so no hidden files, although see the default `.tm_properties` which include `.htaccess` and `.tm_properties`). The default exclude key is the empty string (nothing matches).&lt;br/&gt;&lt;br/&gt;* `exclude`&lt;br/&gt;* `excludeFiles`&lt;br/&gt;* `excludeDirectories`&lt;br/&gt;* `excludeInBrowser`&lt;br/&gt;* `excludeInFolderSearch`&lt;br/&gt;* `excludeInFileChooser`&lt;br/&gt;* `excludeFilesInBrowser`&lt;br/&gt;* `excludeDirectoriesInBrowser`&lt;br/&gt;&lt;br/&gt;* `include`&lt;br/&gt;* `includeFiles`&lt;br/&gt;* `includeDirectories`&lt;br/&gt;* `includeInBrowser`&lt;br/&gt;* `includeInFileChooser`&lt;br/&gt;* `includeFilesInBrowser`&lt;br/&gt;* `includeDirectoriesInBrowser`&lt;br/&gt;* `includeFilesInFileChooser`&lt;br/&gt;&lt;/pre&gt;</description><link>http://tm2tips.tumblr.com/post/14262423719</link><guid>http://tm2tips.tumblr.com/post/14262423719</guid><pubDate>Thu, 15 Dec 2011 09:47:00 -0500</pubDate><category>Settings</category><category>Preferences</category><category>.tm_properties</category><dc:creator>kevinfinlayson</dc:creator></item><item><title>Git status in file browser</title><description>&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you’ve &lt;a href="http://tm2tips.tumblr.com/post/14228717144/create-a-tm-properties-file-to-set-preferences" target="_blank"&gt;configured your .tm_properties file&lt;/a&gt; to point to your installation of git, the file browser will display source control status icons on your files.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://f.cl.ly/items/301A100d182l0d193z3V/Screen%20Shot%202011-12-14%20at%208.27.16%20PM.png"/&gt;&lt;/p&gt;
&lt;p&gt;You can see this on the index.php and header.php files in the repo above, both of which have not-yet-committed changes, and are displaying small blue circle icons.&lt;/p&gt;</description><link>http://tm2tips.tumblr.com/post/14241602837</link><guid>http://tm2tips.tumblr.com/post/14241602837</guid><pubDate>Wed, 14 Dec 2011 20:34:00 -0500</pubDate><category>SCM</category><category>git</category><category>File browser</category><category>preferences</category><dc:creator>kevinfinlayson</dc:creator></item></channel></rss>
