I'd like the default theme of开发者_StackOverflow社区 Xcode but for TextMate.
Is there anyone who knows where I could find this?
I just created it, check it out.
You could always just make it yourself, duplicate one of the TextMate themes and then apply the font styles from Xcode to the textmate theme. It won't take too long and will let you fix the bits that you think are broken!
Since I couldn't get Paolino or El's themes to install in TextMate 2.0, I've created a new Xcode Default theme from scratch here:
https://github.com/jrodatus/xcodedefault-tmtheme-ng
Installation
- Theme extension must be ".tmTheme" (exactly)
- Double-click to install in TextMate, select "Themes" bundle when prompted
- View->Theme->Xcode Default
- View->Font->Show Fonts...: Menlo Regular 10.3 or 10.5
- TextMate->Preferences->Projects->Open files on single click
- Show file browser on: Left side
Extra
To change the selection color from orange, change the hex color code after the "selection" key in the tmTheme file.
To suppress tab creation when clicking on a file in the browser:
Method 1) Hold the Option key every time you click on a file.
Method 2) Clone the TextMate repository and edit
textmate/Frameworks/DocumentWindow/src/DocumentWindowController.mm
, replacing the occurences ofOakIsAlternateKeyOrMouseEvent()
withYES
, and rebuild.Method 3) If you don't want to install the build prerequisites, you can patch the binary directly. See GitHub README.
精彩评论