I am using TextMate version 2.0-alpha.9387, I don't see any options in Preferences.
-
Read it http://manual.macromates.com/en/themes – Tamil Selvan C Mar 30 '13 at 12:39
-
I have read that manual, but I don't find a "Fonts & Colors" tab in Prefernces panel. For me, there is only: Fiels, Projects, Bundles, Variables, Software Update, Terminal. And the View->Theme menu is grey and not selectable. – ideawu Mar 30 '13 at 12:43
-
Go to Bundles->Themes – Tamil Selvan C Mar 30 '13 at 12:49
-
Thanks for reply, but there is a list of themes, I just want to know which one I am using. – ideawu Mar 30 '13 at 12:53
-
Preferences -> Fonts & Colors and see the used theme name http://manual.macromates.com/images/fonts_and_colors.png (ie MagicWill)...correct way is View->Theme – Tamil Selvan C Mar 30 '13 at 13:12
-
Well, I am using a *free* version, not purchased, maybe this version is different from yours and functional limited. "View->Theme menu is grey and not selectable. " I said before. – ideawu Mar 30 '13 at 13:16
-
Strange! I have to select text(use mouse) in the editor to enable the View->Theme menu. Perhaps it is textmate 2's bug. – ideawu Mar 30 '13 at 13:18
-
Please add your solution to the answers and mark this question as answered. – Dirk Geurs Oct 30 '13 at 20:45
2 Answers
The answer is select View->Theme from menu bar. But I think textmate 2 has bug on that menu item, the menu item is grey and not selectable, I have to make selection of text that I am editing to enable the menu item.

- 2,287
- 1
- 23
- 28
Start with an open document
Keyboard:
Ctrl
+ Command
+ t
, begin typing variable
, when "Show TextMate Variables - Bundle Development
" is selected, press return
.
Mouse:
Bundles
→ Bundle Development
→ Show TextMate Variables
Results:
This displays a large tooltip listing all the environment variables available to the TM, you're looking for "TM_CURRENT_THEME_PATH
". The theme name is the same as filename in this path.
Bonus:
You could create a snippet for this as well: Snippet/Command:
${TM_CURRENT_THEME_PATH}
in a snippet with a tab trigger of theme
would cause the path to replace theme
with the path.

- 7,009
- 3
- 31
- 45