![]() This allows you to set TM_DISPLAYNAME which is typically shown in the title bar on TextMate’s windows. Since the name of standard files like this don’t always include an extension, we can just tell TextMate 2 how to handle the file as we open it: mate -t READMEĪnother new option is -name. Personally, I like this feature for README files, which I prefer to write in Markdown. One is -t, which allows you to set the type of an opened file. Next, mate has picked up some new command-line options. You can use this to edit restricted access files in TextMate 2 without being bothered by an authorization dialog on save: sudo mate /etc/hosts What’s upgraded in mate?įirst, it’s a small tweak, but you will be happy to hear that mate now works with sudo. If you would like to find where your TextMate 1 version is before you upgrade, feed your Terminal this command: which mate. Users usually install mate into ~/bin if they just need it for the current user and /usr/local/bin if they would rather make it accessible to all users (assuming they have /usr/local/bin in their PATH). This pane can later be used to uninstall the command if you need to do that. You may be prompted to Replace an old version, if present. To install or upgrade mate, just select a Location and hit Install. You can now find it in the TextMate menu under Preferences… in the Terminal pane. The installer of this command-line utility has moved in TextMate 2. This allows you to take advantage of its new features. Once you have TextMate 2, you need to make sure you refresh the command-line mate application. A new partner-in-crime has also been introduced: rmate. In TextMate 2, mate has learned some new tricks. ![]() TextMate has always bridged the gap between these environments with its trusty command-line sidekick: mate. However, developers are often forced to walk in two worlds using both GUI and command-line tools. TextMate is and will always be a modern GUI application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |