Textmate 2 Tips

  • Archive
  • RSS
  • Submit

8956 Released

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’s functionality like that of Textmate 1.

2011-12-18

  • Introduced callback.application.did-activate and callback.application.did-deactivate 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 “current scope” of the visible document (in each window). This allows creating a command with “Save” set to “Modified Documents” and thereby recreating TextMate 1.x’s ability to save modified documents on lost focus.
  • 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 text.html to only have the “save on lost focus” enabled when editing HTML files - alternatively one can introduce a custom scope like attr.save-on-deactivate and set that for specific projects via a scopeAttributes setting in .tm_properties.
  • Tab bar can be made always visible: defaults write com.macromates.TextMate.preview disableTabBarCollapsing -bool YES.
  • Fix issue with indented soft wrap having the prefix string wider than the wrap column.
  • Fix issue with selection sent to commands needing entire document (e.g. ⌘R for Ruby, Python, etc.).
  • Fix issue with ⌃⇥ not always working to move focus to file browser.
  • Remove folding patterns from grammar template.
  • 1 year ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
← Previous • Next →

Logo

Textmate 2: The missing manual. Help us out by submitting any tips or tricks you come across!

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Submit
  • Mobile

Brought to you by Ned Schwarz..

Effector Theme by Pixel Union