Wednesday, April 24, 2013

[ Level 1 ] A good editor, Sublime.

Here is a power editor called "Sublime", please follow the link to get more information.

http://www.sublimetext.com/

Some useful settings:
1. enable vim.
In Perferences -> Settings-Default, empty the value of ignored_packages,
e.g. "ignored_packages": [],
Default ignore the package Vintage, the vim pakcage.

2. default with command mode.
Add one line in Perferences -> Settings-User:
"vintage_start_in_command_mode": true,
The default mode of vintage would be "command mode"

3. tab for 4 spaces.
In Perferences -> Settings-Default, modify the value of tab_size with 4,
e.g. "tab_size": 4,
And also modify the value of translate_tabs_to_spaces with true,
e.g. "translate_tabs_to_spaces": true,

4. auto-trim tailing spaces.
Add one line in Perferences -> Settings-User:
"trim_trailing_white_space_on_save": true,

Wish this helps.

regards,
Stanley Huang