…continues from Part 1.
Sublime UI Theme and code color highlighting
UI Theme
Mac lovers and anyone wanting a nice, clean, minimal and integrated look should go for the Soda Theme (screenshots, download and setup there). There is a Light and a Dark version of the theme. I went for the Light version since it is much more readable and clear.
Installing a theme in Sublime Text 2
To install a theme paste the theme folder at /Users/xestevev/Library/Application Support/Sublime Text 2/Packages/Theme – Soda.
Now in Sublime go to Sublime > Preferences > Settings – User and add this line:
"theme": "Soda Light.sublime-theme",
Code color highlighting
Since I was used to Dreamweaver’s code highlighting and User Interface color I downloaded the Dreamweaver’s theme by Juliana Apolo (website in portuguese, direct link to the download here). Looks pretty good:
Installing color schemes in Sublime Text 2
To install a color scheme paste the downloaded folder at /Users/yourusername/Library/Application Support/Sublime Text 2/Packages/Color Scheme – Default.
Now in Sublime go to Sublime > Preferences > Settings – User and add this line:
"color_scheme": "Packages/Color Scheme - Default/Dreamweaver Blackbam.tmTheme",
It should look like this:
Restart Sublime and select it from Sublime > Preferences > Color Scheme > Dreamweaver Blackbam:
Working with Projects in Sublime
Open Sublime, go to Project > Add Folder to Project… and select the root folder of your project or website or server.
Go to Project > Save Project As… and save it in the folder you just selected. Projects are saved as a .sublime-project file so it makes really easy to share the configuration around.
For the FTP details right click the root folder of your project and choose SFTP/FTP > Map to Remote… fill in all the server information and save it (it saves as an sftp-config.json file, again, easy to share with the team).
Now you can open any project by either clicking the .sublime-project file or by going to Project > Recent Projects and selecting it.
Sublime Text 2 Tricks you need to know
Split layout
Split layout is amazing to work and you have full control over the layout. Go to View > Layout and select the most convenient:
Multiple windows and usable tabs
Drag and drop a tab in the middle and that file will move to its own window (just like in Chrome).
ShiftIt
Along with Sublime I recommend you to use ShiftIt (open source & free), it’s a Divvy alternative that gives you shortcuts to arrange windows quickly, great for developers. you can download it here.
Create your own plugins, Color Schemes and Themes
You can actually code your own Plugins in JavaScript (or is it Python?), Color Schemes in XML and Themes in JavaScript and a folder of icons and backgrounds.
More tricks
Alain has made a nice list of shortcuts and other cool features of Sublime Text 2.
The End
Now you have your own Sublime Text 2 fully set up and ready to start the real work, use the comments below for doubts, suggestions or anything you feel.
2 comments
Mary Pieroszkiewicz says:
Is it possible to have Monokai theme in Dreamweaver CS6 ?